<?xml version="1.0" encoding="UTF-8"?>
<!--
Template derived pattern
===========================================
ID: 2.16.840.1.113883.3.4424.13.10.2.44
Name: [2] Dane umowy związanej z refundacją
Description: Wzorzec rozszerzenia CDA dla potwierdzenia ubezpieczenia w NFZ.
-->
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
         id="template-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000">
   <title>[2] Dane umowy związanej z refundacją</title>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]"
         id="d16e5315-false-d23272e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']] appears too often [max 1x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]"
         id="d16e5351-false-d23287e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@typeCode) = ('PART')">(ReiReimbursementRelatedContract): The value for typeCode SHALL be 'PART'. Found: "<value-of select="@typeCode"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']) &gt;= 1">(ReiReimbursementRelatedContract): element extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44'] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]) &gt;= 1">(ReiReimbursementRelatedContract): element extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']] appears too often [max 1x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']"
         id="d16e5355-false-d23317e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.13.10.2.44')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.13.10.2.44'. Found: "<value-of select="@root"/>"</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]"
         id="d16e5360-false-d23328e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@classCode) = ('CNTRCT')">(ReiReimbursementRelatedContract): The value for classCode SHALL be 'CNTRCT'. Found: "<value-of select="@classCode"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@moodCode) = ('EVN')">(ReiReimbursementRelatedContract): The value for moodCode SHALL be 'EVN'. Found: "<value-of select="@moodCode"/>"</assert>
      <let name="elmcount"
           value="count(extPL:id[@nullFlavor='NA'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.1'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.2'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.3'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.4'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.5'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.6'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.7'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.8'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.9'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.10'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.11'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.12'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.13'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.14'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.15'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.16'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.1'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.2'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.3'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.4'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.5'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.6'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.7'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.8'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.9'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.10'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.11'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.12'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.13'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.14'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.15'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.16'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.1'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.2'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.3'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.4'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.5'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.6'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.7'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.8'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.9'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.10'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.11'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.12'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.13'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.14'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.15'] | extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.16'])"/>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="$elmcount &gt;= 1">(ReiReimbursementRelatedContract): choice (extPL:id[@nullFlavor='NA']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.1']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.2']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.3']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.4']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.5']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.6']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.7']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.8']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.9']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.10']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.11']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.12']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.13']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.14']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.15']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.16']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.1']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.2']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.3']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.4']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.5']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.6']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.7']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.8']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.9']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.10']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.11']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.12']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.13']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.14']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.15']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.16']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.1']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.2']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.3']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.4']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.5']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.6']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.7']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.8']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.9']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.10']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.11']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.12']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.13']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.14']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.15']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.16']) does not contain enough elements [min 1x]</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="$elmcount &lt;= 1">(ReiReimbursementRelatedContract): choice (extPL:id[@nullFlavor='NA']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.1']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.2']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.3']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.4']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.5']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.6']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.7']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.8']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.9']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.10']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.11']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.12']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.13']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.14']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.15']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.16']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.1']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.2']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.3']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.4']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.5']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.6']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.7']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.8']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.9']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.10']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.11']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.12']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.13']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.14']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.15']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.16']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.1']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.2']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.3']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.4']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.5']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.6']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.7']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.8']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.9']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.10']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.11']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.12']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.13']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.14']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.15']  or  extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.16']) contains too many elements [max 1x]</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@nullFlavor='NA']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@nullFlavor='NA'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.1']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.1'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.2']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.2'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.3']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.3'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.4']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.4'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.5']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.5'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.6']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.6'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.7']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.7'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.8']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.8'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.9']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.9'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.10']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.10'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.11']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.11'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.12']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.12'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.13']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.13'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.14']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.14'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.15']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.15'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.16']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.16'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.1']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.1'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.2']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.2'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.3']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.3'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.4']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.4'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.5']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.5'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.6']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.6'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.7']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.7'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.8']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.8'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.9']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.9'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.10']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.10'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.11']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.11'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.12']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.12'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.13']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.13'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.14']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.14'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.15']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.15'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.16']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.16'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.1']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.1'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.2']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.2'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.3']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.3'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.4']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.4'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.5']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.5'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.6']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.6'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.7']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.7'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.8']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.8'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.9']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.9'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.10']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.10'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.11']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.11'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.12']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.12'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.13']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.13'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.14']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.14'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.15']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.15'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.16']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.16'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:code) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:code appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']]) &gt;= 1">(ReiReimbursementRelatedContract): element extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']]) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']] appears too often [max 1x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@nullFlavor='NA']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@nullFlavor='NA']"
         id="d16e5368-false-d23513e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@nullFlavor) = ('NA')">(ReiReimbursementRelatedContract): The value for nullFlavor SHALL be 'NA'. Found: "<value-of select="@nullFlavor"/>"</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.1']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.1']"
         id="d16e5373-false-d23522e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.1')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.1'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.2']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.2']"
         id="d16e5380-false-d23537e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.2')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.2'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.3']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.3']"
         id="d16e5387-false-d23552e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.3')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.3'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.4']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.4']"
         id="d16e5394-false-d23567e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.4')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.4'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.5']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.5']"
         id="d16e5402-false-d23582e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.5')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.5'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.6']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.6']"
         id="d16e5409-false-d23597e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.6')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.6'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.7']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.7']"
         id="d16e5416-false-d23612e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.7')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.7'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.8']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.8']"
         id="d16e5423-false-d23627e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.8')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.8'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.9']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.9']"
         id="d16e5430-false-d23642e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.9')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.9'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.10']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.10']"
         id="d16e5437-false-d23657e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.10')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.10'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.11']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.11']"
         id="d16e5445-false-d23672e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.11')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.11'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.12']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.12']"
         id="d16e5452-false-d23687e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.12')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.12'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.13']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.13']"
         id="d16e5459-false-d23702e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.13')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.13'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.14']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.14']"
         id="d16e5466-false-d23717e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.14')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.14'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.15']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.15']"
         id="d16e5473-false-d23732e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.15')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.15'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.16']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.16']"
         id="d16e5480-false-d23747e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.1.16')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.1.16'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.1']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.1']"
         id="d16e5488-false-d23762e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.1')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.1'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.2']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.2']"
         id="d16e5495-false-d23777e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.2')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.2'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.3']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.3']"
         id="d16e5502-false-d23792e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.3')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.3'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.4']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.4']"
         id="d16e5509-false-d23807e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.4')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.4'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.5']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.5']"
         id="d16e5516-false-d23822e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.5')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.5'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.6']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.6']"
         id="d16e5523-false-d23837e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.6')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.6'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.7']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.7']"
         id="d16e5531-false-d23852e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.7')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.7'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.8']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.8']"
         id="d16e5538-false-d23867e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.8')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.8'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.9']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.9']"
         id="d16e5545-false-d23882e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.9')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.9'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.10']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.10']"
         id="d16e5552-false-d23897e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.10')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.10'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.11']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.11']"
         id="d16e5559-false-d23912e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.11')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.11'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.12']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.12']"
         id="d16e5566-false-d23927e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.12')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.12'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.13']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.13']"
         id="d16e5574-false-d23942e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.13')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.13'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.14']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.14']"
         id="d16e5581-false-d23957e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.14')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.14'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.15']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.15']"
         id="d16e5588-false-d23972e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.15')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.15'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.16']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.16']"
         id="d16e5595-false-d23987e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.2.16')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.2.16'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.1']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.1']"
         id="d16e5602-false-d24002e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.1')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.1'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.2']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.2']"
         id="d16e5609-false-d24017e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.2')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.2'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.3']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.3']"
         id="d16e5617-false-d24032e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.3')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.3'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.4']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.4']"
         id="d16e5624-false-d24047e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.4')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.4'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.5']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.5']"
         id="d16e5631-false-d24062e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.5')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.5'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.6']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.6']"
         id="d16e5638-false-d24077e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.6')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.6'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.7']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.7']"
         id="d16e5645-false-d24092e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.7')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.7'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.8']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.8']"
         id="d16e5652-false-d24107e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.8')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.8'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.9']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.9']"
         id="d16e5660-false-d24122e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.9')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.9'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.10']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.10']"
         id="d16e5667-false-d24137e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.10')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.10'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.11']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.11']"
         id="d16e5674-false-d24152e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.11')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.11'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.12']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.12']"
         id="d16e5681-false-d24167e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.12')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.12'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.13']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.13']"
         id="d16e5688-false-d24182e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.13')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.13'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.14']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.14']"
         id="d16e5695-false-d24197e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.14')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.14'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.15']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.15']"
         id="d16e5703-false-d24212e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.15')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.15'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.16']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.16']"
         id="d16e5710-false-d24227e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.8.6.3.16')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.8.6.3.16'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:code
Item: (ReiReimbursementRelatedContract)
-->

   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']]
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']]"
         id="d16e5720-false-d24252e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@typeCode) = ('PART')">(ReiReimbursementRelatedContract): The value for typeCode SHALL be 'PART'. Found: "<value-of select="@typeCode"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:reimburser[not(@nullFlavor)][@classCode = 'UNDWRT']) &gt;= 1">(ReiReimbursementRelatedContract): element extPL:reimburser[not(@nullFlavor)][@classCode = 'UNDWRT'] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:reimburser[not(@nullFlavor)][@classCode = 'UNDWRT']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:reimburser[not(@nullFlavor)][@classCode = 'UNDWRT'] appears too often [max 1x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']]/extPL:reimburser[not(@nullFlavor)][@classCode = 'UNDWRT']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']]/extPL:reimburser[not(@nullFlavor)][@classCode = 'UNDWRT']"
         id="d16e5724-false-d24272e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@classCode) = ('UNDWRT')">(ReiReimbursementRelatedContract): The value for classCode SHALL be 'UNDWRT'. Found: "<value-of select="@classCode"/>"</assert>
      <let name="elmcount"
           value="count(extPL:id[@root='2.16.840.1.113883.3.4424.3.1'] | extPL:id[@root='1.0.3166.1'] | extPL:id[@root='2.16.840.1.113883.3.4424.11.1.49'])"/>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="$elmcount &gt;= 1">(ReiReimbursementRelatedContract): choice (extPL:id[@root='2.16.840.1.113883.3.4424.3.1']  or  extPL:id[@root='1.0.3166.1']  or  extPL:id[@root='2.16.840.1.113883.3.4424.11.1.49']) does not contain enough elements [min 1x]</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="$elmcount &lt;= 1">(ReiReimbursementRelatedContract): choice (extPL:id[@root='2.16.840.1.113883.3.4424.3.1']  or  extPL:id[@root='1.0.3166.1']  or  extPL:id[@root='2.16.840.1.113883.3.4424.11.1.49']) contains too many elements [max 1x]</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.3.1']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.3.1'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='1.0.3166.1']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='1.0.3166.1'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="count(extPL:id[@root='2.16.840.1.113883.3.4424.11.1.49']) &lt;= 1">(ReiReimbursementRelatedContract): element extPL:id[@root='2.16.840.1.113883.3.4424.11.1.49'] appears too often [max 1x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']]/extPL:reimburser[not(@nullFlavor)][@classCode = 'UNDWRT']/extPL:id[@root='2.16.840.1.113883.3.4424.3.1']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']]/extPL:reimburser[not(@nullFlavor)][@classCode = 'UNDWRT']/extPL:id[@root='2.16.840.1.113883.3.4424.3.1']"
         id="d16e5730-false-d24301e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.3.1')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.3.1'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']]/extPL:reimburser[not(@nullFlavor)][@classCode = 'UNDWRT']/extPL:id[@root='1.0.3166.1']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']]/extPL:reimburser[not(@nullFlavor)][@classCode = 'UNDWRT']/extPL:id[@root='1.0.3166.1']"
         id="d16e5737-false-d24316e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('1.0.3166.1')">(ReiReimbursementRelatedContract): The value for root SHALL be '1.0.3166.1'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
      <assert role="warning"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension=('AT','BE','BG','CY','CZ','DK','EE','FI','FR','GR','ES','NL','IS','IE','LI','LT','LU','LF','MT','DE','NO','PT','RO','SK','SI','CH','SE','HU','GB','IT','HR')">(ReiReimbursementRelatedContract): Nieprawidłowy identyfikator instytucji właściwej dla koordynacji</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.2.44
Context: *[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']]/extPL:reimburser[not(@nullFlavor)][@classCode = 'UNDWRT']/extPL:id[@root='2.16.840.1.113883.3.4424.11.1.49']
Item: (ReiReimbursementRelatedContract)
-->

   <rule fpi="RULC-1"
         context="*[extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]]/extPL:boundedBy[extPL:templateId[@root = '2.16.840.1.113883.3.4424.13.10.2.44']]/extPL:reimbursementRelatedContract[not(@nullFlavor)][@classCode = 'CNTRCT'][@moodCode = 'EVN'][extPL:bounding[@typeCode = 'PART']]/extPL:bounding[not(@nullFlavor)][@typeCode = 'PART'][extPL:reimburser[@classCode = 'UNDWRT']]/extPL:reimburser[not(@nullFlavor)][@classCode = 'UNDWRT']/extPL:id[@root='2.16.840.1.113883.3.4424.11.1.49']"
         id="d16e5747-false-d24331e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.11.1.49')">(ReiReimbursementRelatedContract): The value for root SHALL be '2.16.840.1.113883.3.4424.11.1.49'. Found: "<value-of select="@root"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="@extension">(ReiReimbursementRelatedContract): attribute @extension SHALL be present.</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.2.44-2020-06-08T000000.html"
              test="not(@extension) or string-length(@extension)&gt;0">(ReiReimbursementRelatedContract): Attribute @extension SHALL be of data type 'st'  - '<value-of select="@extension"/>'</assert>
   </rule>
</pattern>
