<?xml version="1.0" encoding="UTF-8"?>
<!--
Template derived pattern
===========================================
ID: 2.16.840.1.113883.3.4424.13.10.4.275
Name: [4] KMCR Va Postępowanie z pacjentem, Czynności
Description: KMCR Va Postępowanie z pacjentem, Czynności 
-->
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
         id="template-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000-closed">
   <title>[4] KMCR Va Postępowanie z pacjentem, Czynności</title>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/*[not(@xsi:nil = 'true')][not(self::hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']])]"
         id="d16e10839-true-d45551e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e10839-true-d45551e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']] (rule-reference: d16e10839-true-d45551e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/*[not(@xsi:nil = 'true')][not(self::hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275'] | self::hl7:code[(@code = '47519-4' and @codeSystem = '2.16.840.1.113883.6.1')] | self::hl7:statusCode[@code = 'completed'] | self::hl7:component[hl7:procedure/hl7:code/@code='99.99900'] | self::hl7:component[hl7:procedure/hl7:code/@code='93.921'] | self::hl7:component[hl7:procedure/hl7:code/@code='96.02'] | self::hl7:component[hl7:procedure/hl7:code/@code='96.04'] | self::hl7:component[hl7:procedure/hl7:code/@code='93.929'] | self::hl7:component[hl7:procedure/hl7:code/@code='93.964'] | self::hl7:component[hl7:procedure/hl7:code/@code='93.984'] | self::hl7:component[hl7:procedure/hl7:code/@code='89.602'] | self::hl7:component[hl7:procedure/hl7:code/@code='99.99911'] | self::hl7:component[hl7:procedure/hl7:code/@code='89.511'] | self::hl7:component[hl7:procedure/hl7:code/@code='89.522'] | self::hl7:component[hl7:procedure/hl7:code/@code='89.543'] | self::hl7:component[hl7:procedure/hl7:code/@code='99.630'] | self::hl7:component[hl7:procedure/hl7:code/@code='99.631'] | self::hl7:component[hl7:procedure/hl7:code/@code='99.624'] | self::hl7:component[hl7:procedure/hl7:code/@code='99.622'] | self::hl7:component[hl7:procedure/hl7:code/@code='89.549'] | self::hl7:component[hl7:procedure/hl7:code/@code='37.268'] | self::hl7:component[hl7:procedure/hl7:code/@code='99.64'] | self::hl7:component[hl7:procedure/hl7:code/@code='99.99904'] | self::hl7:component[hl7:procedure/hl7:code/@code='99.99903'] | self::hl7:component[hl7:procedure/hl7:code/@code='99.99906'] | self::hl7:component[hl7:procedure/hl7:code/@code='57.01'] | self::hl7:component[hl7:procedure/hl7:code/@code='96.06'] | self::hl7:component[hl7:procedure/hl7:code/@code='96.33'] | self::hl7:component[hl7:procedure/hl7:code/@code='93.521'] | self::hl7:component[hl7:procedure/hl7:code/@code='93.5017'] | self::hl7:component[hl7:procedure/hl7:code/@code='93.5018'] | self::hl7:component[hl7:procedure[hl7:code/@code='93.50' and hl7:text='unieruchomienie']] | self::hl7:component[hl7:procedure/hl7:code/@code='93.5025'] | self::hl7:component[hl7:procedure/hl7:code/@code='93.5019'] | self::hl7:component[hl7:procedure[hl7:code/@code='93.50' and hl7:text='opatrunek']] | self::hl7:component[hl7:procedure/hl7:code/@code='72.52'] | self::hl7:component[hl7:procedure/hl7:code/@code='99.99'])]"
         id="d16e11314-true-d45616e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11314-true-d45616e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275'] | hl7:code[(@code = '47519-4' and @codeSystem = '2.16.840.1.113883.6.1')] | hl7:statusCode[@code = 'completed'] | hl7:component[hl7:procedure/hl7:code/@code='99.99900'] | hl7:component[hl7:procedure/hl7:code/@code='93.921'] | hl7:component[hl7:procedure/hl7:code/@code='96.02'] | hl7:component[hl7:procedure/hl7:code/@code='96.04'] | hl7:component[hl7:procedure/hl7:code/@code='93.929'] | hl7:component[hl7:procedure/hl7:code/@code='93.964'] | hl7:component[hl7:procedure/hl7:code/@code='93.984'] | hl7:component[hl7:procedure/hl7:code/@code='89.602'] | hl7:component[hl7:procedure/hl7:code/@code='99.99911'] | hl7:component[hl7:procedure/hl7:code/@code='89.511'] | hl7:component[hl7:procedure/hl7:code/@code='89.522'] | hl7:component[hl7:procedure/hl7:code/@code='89.543'] | hl7:component[hl7:procedure/hl7:code/@code='99.630'] | hl7:component[hl7:procedure/hl7:code/@code='99.631'] | hl7:component[hl7:procedure/hl7:code/@code='99.624'] | hl7:component[hl7:procedure/hl7:code/@code='99.622'] | hl7:component[hl7:procedure/hl7:code/@code='89.549'] | hl7:component[hl7:procedure/hl7:code/@code='37.268'] | hl7:component[hl7:procedure/hl7:code/@code='99.64'] | hl7:component[hl7:procedure/hl7:code/@code='99.99904'] | hl7:component[hl7:procedure/hl7:code/@code='99.99903'] | hl7:component[hl7:procedure/hl7:code/@code='99.99906'] | hl7:component[hl7:procedure/hl7:code/@code='57.01'] | hl7:component[hl7:procedure/hl7:code/@code='96.06'] | hl7:component[hl7:procedure/hl7:code/@code='96.33'] | hl7:component[hl7:procedure/hl7:code/@code='93.521'] | hl7:component[hl7:procedure/hl7:code/@code='93.5017'] | hl7:component[hl7:procedure/hl7:code/@code='93.5018'] | hl7:component[hl7:procedure[hl7:code/@code='93.50' and hl7:text='unieruchomienie']] | hl7:component[hl7:procedure/hl7:code/@code='93.5025'] | hl7:component[hl7:procedure/hl7:code/@code='93.5019'] | hl7:component[hl7:procedure[hl7:code/@code='93.50' and hl7:text='opatrunek']] | hl7:component[hl7:procedure/hl7:code/@code='72.52'] | hl7:component[hl7:procedure/hl7:code/@code='99.99'] (rule-reference: d16e11314-true-d45616e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:code[(@code = '47519-4' and @codeSystem = '2.16.840.1.113883.6.1')]/*[not(@xsi:nil = 'true')][not(self::hl7:translation[(@code = 'KMCR_Va' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.1')])]"
         id="d16e11325-true-d45639e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11325-true-d45639e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:translation[(@code = 'KMCR_Va' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.1')] (rule-reference: d16e11325-true-d45639e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.99900']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '99.99900' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11341-true-d45665e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11341-true-d45665e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '99.99900' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11341-true-d45665e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.99900']/hl7:procedure[hl7:code[(@code = '99.99900' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '99.99900' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11345-true-d45687e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11345-true-d45687e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '99.99900' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11345-true-d45687e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.921']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '93.921' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11364-true-d45712e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11364-true-d45712e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '93.921' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11364-true-d45712e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.921']/hl7:procedure[hl7:code[(@code = '93.921' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '93.921' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11368-true-d45734e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11368-true-d45734e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '93.921' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11368-true-d45734e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='96.02']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '96.02' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11387-true-d45759e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11387-true-d45759e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '96.02' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11387-true-d45759e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='96.02']/hl7:procedure[hl7:code[(@code = '96.02' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '96.02' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11391-true-d45781e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11391-true-d45781e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '96.02' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11391-true-d45781e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='96.04']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '96.04' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11410-true-d45806e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11410-true-d45806e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '96.04' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11410-true-d45806e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='96.04']/hl7:procedure[hl7:code[(@code = '96.04' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '96.04' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11414-true-d45828e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11414-true-d45828e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '96.04' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11414-true-d45828e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.929']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '93.929' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11433-true-d45853e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11433-true-d45853e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '93.929' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11433-true-d45853e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.929']/hl7:procedure[hl7:code[(@code = '93.929' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '93.929' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11437-true-d45875e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11437-true-d45875e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '93.929' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11437-true-d45875e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.964']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '93.964' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11456-true-d45900e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11456-true-d45900e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '93.964' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11456-true-d45900e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.964']/hl7:procedure[hl7:code[(@code = '93.964' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '93.964' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11460-true-d45922e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11460-true-d45922e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '93.964' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11460-true-d45922e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.984']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '93.984' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11480-true-d45947e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11480-true-d45947e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '93.984' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11480-true-d45947e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.984']/hl7:procedure[hl7:code[(@code = '93.984' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '93.984' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11484-true-d45969e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11484-true-d45969e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '93.984' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11484-true-d45969e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='89.602']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '89.602' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11503-true-d45994e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11503-true-d45994e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '89.602' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11503-true-d45994e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='89.602']/hl7:procedure[hl7:code[(@code = '89.602' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '89.602' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11507-true-d46016e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11507-true-d46016e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '89.602' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11507-true-d46016e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.99911']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '99.99911' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11526-true-d46041e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11526-true-d46041e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '99.99911' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11526-true-d46041e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.99911']/hl7:procedure[hl7:code[(@code = '99.99911' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '99.99911' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11530-true-d46063e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11530-true-d46063e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '99.99911' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11530-true-d46063e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='89.511']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '89.511' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11549-true-d46088e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11549-true-d46088e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '89.511' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11549-true-d46088e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='89.511']/hl7:procedure[hl7:code[(@code = '89.511' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '89.511' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11553-true-d46110e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11553-true-d46110e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '89.511' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11553-true-d46110e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='89.522']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '89.522' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11572-true-d46135e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11572-true-d46135e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '89.522' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11572-true-d46135e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='89.522']/hl7:procedure[hl7:code[(@code = '89.522' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '89.522' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11576-true-d46157e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11576-true-d46157e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '89.522' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11576-true-d46157e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='89.543']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '89.543' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11595-true-d46182e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11595-true-d46182e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '89.543' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11595-true-d46182e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='89.543']/hl7:procedure[hl7:code[(@code = '89.543' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '89.543' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11599-true-d46204e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11599-true-d46204e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '89.543' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11599-true-d46204e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.630']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '99.630' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11619-true-d46229e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11619-true-d46229e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '99.630' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11619-true-d46229e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.630']/hl7:procedure[hl7:code[(@code = '99.630' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '99.630' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11623-true-d46251e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11623-true-d46251e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '99.630' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11623-true-d46251e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.631']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '99.631' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11642-true-d46276e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11642-true-d46276e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '99.631' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11642-true-d46276e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.631']/hl7:procedure[hl7:code[(@code = '99.631' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '99.631' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11646-true-d46298e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11646-true-d46298e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '99.631' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11646-true-d46298e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.624']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '99.624' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11665-true-d46323e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11665-true-d46323e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '99.624' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11665-true-d46323e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.624']/hl7:procedure[hl7:code[(@code = '99.624' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '99.624' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11669-true-d46345e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11669-true-d46345e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '99.624' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11669-true-d46345e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.622']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '99.622' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11688-true-d46370e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11688-true-d46370e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '99.622' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11688-true-d46370e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.622']/hl7:procedure[hl7:code[(@code = '99.622' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '99.622' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11692-true-d46392e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11692-true-d46392e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '99.622' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11692-true-d46392e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='89.549']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '89.549' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11711-true-d46417e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11711-true-d46417e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '89.549' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11711-true-d46417e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='89.549']/hl7:procedure[hl7:code[(@code = '89.549' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '89.549' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11715-true-d46439e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11715-true-d46439e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '89.549' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11715-true-d46439e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='37.268']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '37.268' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11734-true-d46464e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11734-true-d46464e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '37.268' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11734-true-d46464e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='37.268']/hl7:procedure[hl7:code[(@code = '37.268' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '37.268' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11738-true-d46486e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11738-true-d46486e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '37.268' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11738-true-d46486e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.64']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '99.64' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11758-true-d46511e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11758-true-d46511e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '99.64' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11758-true-d46511e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.64']/hl7:procedure[hl7:code[(@code = '99.64' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '99.64' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11762-true-d46533e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11762-true-d46533e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '99.64' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11762-true-d46533e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.99904']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '99.99904' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11781-true-d46558e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11781-true-d46558e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '99.99904' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11781-true-d46558e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.99904']/hl7:procedure[hl7:code[(@code = '99.99904' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '99.99904' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11785-true-d46580e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11785-true-d46580e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '99.99904' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11785-true-d46580e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.99903']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '99.99903' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11804-true-d46605e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11804-true-d46605e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '99.99903' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11804-true-d46605e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.99903']/hl7:procedure[hl7:code[(@code = '99.99903' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '99.99903' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11808-true-d46627e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11808-true-d46627e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '99.99903' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11808-true-d46627e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.99906']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '99.99906' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11827-true-d46652e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11827-true-d46652e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '99.99906' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11827-true-d46652e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.99906']/hl7:procedure[hl7:code[(@code = '99.99906' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '99.99906' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11831-true-d46674e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11831-true-d46674e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '99.99906' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11831-true-d46674e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='57.01']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '57.01' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11850-true-d46699e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11850-true-d46699e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '57.01' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11850-true-d46699e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='57.01']/hl7:procedure[hl7:code[(@code = '57.01' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '57.01' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11854-true-d46721e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11854-true-d46721e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '57.01' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11854-true-d46721e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='96.06']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '96.06' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11873-true-d46746e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11873-true-d46746e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '96.06' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11873-true-d46746e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='96.06']/hl7:procedure[hl7:code[(@code = '96.06' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '96.06' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11877-true-d46768e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11877-true-d46768e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '96.06' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11877-true-d46768e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='96.33']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '96.33' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11897-true-d46793e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11897-true-d46793e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '96.33' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11897-true-d46793e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='96.33']/hl7:procedure[hl7:code[(@code = '96.33' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '96.33' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11901-true-d46815e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11901-true-d46815e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '96.33' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11901-true-d46815e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.521']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '93.521' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11920-true-d46840e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11920-true-d46840e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '93.521' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11920-true-d46840e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.521']/hl7:procedure[hl7:code[(@code = '93.521' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '93.521' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11924-true-d46862e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11924-true-d46862e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '93.521' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11924-true-d46862e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.5017']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '93.5017' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11943-true-d46887e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11943-true-d46887e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '93.5017' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11943-true-d46887e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.5017']/hl7:procedure[hl7:code[(@code = '93.5017' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '93.5017' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11947-true-d46909e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11947-true-d46909e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '93.5017' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11947-true-d46909e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.5018']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '93.5018' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11966-true-d46934e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11966-true-d46934e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '93.5018' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11966-true-d46934e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.5018']/hl7:procedure[hl7:code[(@code = '93.5018' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '93.5018' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11970-true-d46956e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11970-true-d46956e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '93.5018' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11970-true-d46956e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure[hl7:code/@code='93.50' and hl7:text='unieruchomienie']]/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '93.50' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e11989-true-d46981e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11989-true-d46981e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '93.50' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e11989-true-d46981e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure[hl7:code/@code='93.50' and hl7:text='unieruchomienie']]/hl7:procedure[hl7:code[(@code = '93.50' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '93.50' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e11993-true-d47003e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e11993-true-d47003e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '93.50' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e11993-true-d47003e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.5025']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '93.5025' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e12012-true-d47028e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e12012-true-d47028e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '93.5025' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e12012-true-d47028e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.5025']/hl7:procedure[hl7:code[(@code = '93.5025' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '93.5025' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e12016-true-d47050e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e12016-true-d47050e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '93.5025' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e12016-true-d47050e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.5019']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '93.5019' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e12036-true-d47075e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e12036-true-d47075e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '93.5019' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e12036-true-d47075e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='93.5019']/hl7:procedure[hl7:code[(@code = '93.5019' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '93.5019' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e12040-true-d47097e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e12040-true-d47097e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '93.5019' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e12040-true-d47097e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure[hl7:code/@code='93.50' and hl7:text='opatrunek']]/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '93.50' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e12059-true-d47122e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e12059-true-d47122e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '93.50' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e12059-true-d47122e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure[hl7:code/@code='93.50' and hl7:text='opatrunek']]/hl7:procedure[hl7:code[(@code = '93.50' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '93.50' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e12063-true-d47144e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e12063-true-d47144e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '93.50' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e12063-true-d47144e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='72.52']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '72.52' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e12082-true-d47169e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e12082-true-d47169e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '72.52' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e12082-true-d47169e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='72.52']/hl7:procedure[hl7:code[(@code = '72.52' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '72.52' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e12086-true-d47191e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e12086-true-d47191e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '72.52' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e12086-true-d47191e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.99']/*[not(@xsi:nil = 'true')][not(self::hl7:procedure[hl7:code[(@code = '99.99' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]])]"
         id="d16e12105-true-d47216e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e12105-true-d47216e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:procedure[hl7:code[(@code = '99.99' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]] (rule-reference: d16e12105-true-d47216e0)</assert>
   </rule>

   <!-- Checking undefined contents for template/element @isClosed="true". Match context that we did not already match -->
   <rule fpi="RUL-QQQ"
         context="*[hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.275']]/hl7:component[hl7:procedure/hl7:code/@code='99.99']/hl7:procedure[hl7:code[(@code = '99.99' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '99.99' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | self::hl7:text[not(@nullFlavor)])]"
         id="d16e12109-true-d47238e0">
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.275-2025-02-26T000000.html"
              test="not(.)">(plCdaRescueProceduresEntry)/d16e12109-true-d47238e0: '<value-of select="name(..)"/>' is defined as closed, and this element '<name/>' is not allowed, or not allowed with this content. This may concern the templateId, code or id. Expected in this context:  hl7:code[(@code = '99.99' and @codeSystem = '2.16.840.1.113883.3.4424.11.2.6')] | hl7:text[not(@nullFlavor)] (rule-reference: d16e12109-true-d47238e0)</assert>
   </rule>
</pattern>
