<?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="d16e2989-false-d15746e0">
      <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="d16e3025-false-d15761e0">
      <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="d16e3029-false-d15791e0">
      <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="d16e3034-false-d15802e0">
      <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="d16e3042-false-d15987e0">
      <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="d16e3047-false-d15996e0">
      <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="d16e3054-false-d16011e0">
      <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="d16e3061-false-d16026e0">
      <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="d16e3068-false-d16041e0">
      <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="d16e3076-false-d16056e0">
      <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="d16e3083-false-d16071e0">
      <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="d16e3090-false-d16086e0">
      <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="d16e3097-false-d16101e0">
      <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="d16e3104-false-d16116e0">
      <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="d16e3111-false-d16131e0">
      <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="d16e3119-false-d16146e0">
      <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="d16e3126-false-d16161e0">
      <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="d16e3133-false-d16176e0">
      <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="d16e3140-false-d16191e0">
      <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="d16e3147-false-d16206e0">
      <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="d16e3154-false-d16221e0">
      <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="d16e3162-false-d16236e0">
      <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="d16e3169-false-d16251e0">
      <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="d16e3176-false-d16266e0">
      <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="d16e3183-false-d16281e0">
      <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="d16e3190-false-d16296e0">
      <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="d16e3197-false-d16311e0">
      <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="d16e3205-false-d16326e0">
      <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="d16e3212-false-d16341e0">
      <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="d16e3219-false-d16356e0">
      <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="d16e3226-false-d16371e0">
      <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="d16e3233-false-d16386e0">
      <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="d16e3240-false-d16401e0">
      <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="d16e3248-false-d16416e0">
      <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="d16e3255-false-d16431e0">
      <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="d16e3262-false-d16446e0">
      <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="d16e3269-false-d16461e0">
      <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="d16e3276-false-d16476e0">
      <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="d16e3283-false-d16491e0">
      <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="d16e3291-false-d16506e0">
      <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="d16e3298-false-d16521e0">
      <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="d16e3305-false-d16536e0">
      <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="d16e3312-false-d16551e0">
      <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="d16e3319-false-d16566e0">
      <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="d16e3326-false-d16581e0">
      <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="d16e3334-false-d16596e0">
      <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="d16e3341-false-d16611e0">
      <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="d16e3348-false-d16626e0">
      <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="d16e3355-false-d16641e0">
      <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="d16e3362-false-d16656e0">
      <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="d16e3369-false-d16671e0">
      <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="d16e3377-false-d16686e0">
      <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="d16e3384-false-d16701e0">
      <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="d16e3394-false-d16726e0">
      <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="d16e3398-false-d16746e0">
      <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="d16e3404-false-d16775e0">
      <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="d16e3411-false-d16790e0">
      <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="d16e3421-false-d16805e0">
      <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>
