<?xml version="1.0" encoding="UTF-8"?>
<!--
Template derived pattern
===========================================
ID: 2.16.840.1.113883.3.4424.13.10.4.286
Name: [4] Podsumowanie, Data i czas realizacji zlecenia
Description: Podsumowanie, Data i czas realizacji zlecenia
-->
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
         id="template-2.16.840.1.113883.3.4424.13.10.4.286-2025-02-26T000000-closed">
   <title>[4] Podsumowanie, Data i czas realizacji zlecenia</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.286']]]/*[not(@xsi:nil = 'true')][not(self::hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']])]"
         id="d16e13352-true-d52466e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13352-true-d52466e0: '<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.286']] (rule-reference: d16e13352-true-d52466e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/*[not(@xsi:nil = 'true')][not(self::hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286'] | self::hl7:code[(@code = 'VIc' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.1')] | self::hl7:statusCode[@code = 'completed'] | self::hl7:component[hl7:act/hl7:code/@code='1'][not(@nullFlavor)] | self::hl7:component[hl7:act/hl7:code/@code='2'][not(@nullFlavor)] | self::hl7:component[hl7:act/hl7:code/@code='3'][not(@nullFlavor)] | self::hl7:component[hl7:act/hl7:code/@code='4'][not(@nullFlavor)] | self::hl7:component[hl7:act/hl7:code/@code='5'] | self::hl7:component[hl7:act/hl7:code/@code='6'] | self::hl7:component[hl7:act/hl7:code/@code='7'][not(@nullFlavor)])]"
         id="d16e13477-true-d52504e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13477-true-d52504e0: '<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.286'] | hl7:code[(@code = 'VIc' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.1')] | hl7:statusCode[@code = 'completed'] | hl7:component[hl7:act/hl7:code/@code='1'][not(@nullFlavor)] | hl7:component[hl7:act/hl7:code/@code='2'][not(@nullFlavor)] | hl7:component[hl7:act/hl7:code/@code='3'][not(@nullFlavor)] | hl7:component[hl7:act/hl7:code/@code='4'][not(@nullFlavor)] | hl7:component[hl7:act/hl7:code/@code='5'] | hl7:component[hl7:act/hl7:code/@code='6'] | hl7:component[hl7:act/hl7:code/@code='7'][not(@nullFlavor)] (rule-reference: d16e13477-true-d52504e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='1'][not(@nullFlavor)]/*[not(@xsi:nil = 'true')][not(self::hl7:act[hl7:code[(@code = '1' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]])]"
         id="d16e13499-true-d52536e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13499-true-d52536e0: '<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:act[hl7:code[(@code = '1' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]] (rule-reference: d16e13499-true-d52536e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='1'][not(@nullFlavor)]/hl7:act[hl7:code[(@code = '1' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '1' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | self::hl7:statusCode[@code = 'completed'] | self::hl7:effectiveTime[not(@nullFlavor)])]"
         id="d16e13521-true-d52565e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13521-true-d52565e0: '<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 = '1' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime[not(@nullFlavor)] (rule-reference: d16e13521-true-d52565e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='2'][not(@nullFlavor)]/*[not(@xsi:nil = 'true')][not(self::hl7:act[hl7:code[(@code = '2' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]])]"
         id="d16e13541-true-d52596e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13541-true-d52596e0: '<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:act[hl7:code[(@code = '2' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]] (rule-reference: d16e13541-true-d52596e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='2'][not(@nullFlavor)]/hl7:act[hl7:code[(@code = '2' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '2' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | self::hl7:statusCode[@code = 'completed'] | self::hl7:effectiveTime[not(@nullFlavor)])]"
         id="d16e13563-true-d52625e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13563-true-d52625e0: '<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 = '2' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime[not(@nullFlavor)] (rule-reference: d16e13563-true-d52625e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='3'][not(@nullFlavor)]/*[not(@xsi:nil = 'true')][not(self::hl7:act[hl7:code[(@code = '3' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]])]"
         id="d16e13583-true-d52656e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13583-true-d52656e0: '<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:act[hl7:code[(@code = '3' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]] (rule-reference: d16e13583-true-d52656e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='3'][not(@nullFlavor)]/hl7:act[hl7:code[(@code = '3' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '3' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | self::hl7:statusCode[@code = 'completed'] | self::hl7:effectiveTime[not(@nullFlavor)])]"
         id="d16e13605-true-d52685e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13605-true-d52685e0: '<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 = '3' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime[not(@nullFlavor)] (rule-reference: d16e13605-true-d52685e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='4'][not(@nullFlavor)]/*[not(@xsi:nil = 'true')][not(self::hl7:act[hl7:code[(@code = '4' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]])]"
         id="d16e13625-true-d52716e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13625-true-d52716e0: '<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:act[hl7:code[(@code = '4' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]] (rule-reference: d16e13625-true-d52716e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='4'][not(@nullFlavor)]/hl7:act[hl7:code[(@code = '4' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '4' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | self::hl7:statusCode[@code = 'completed'] | self::hl7:effectiveTime[not(@nullFlavor)])]"
         id="d16e13647-true-d52745e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13647-true-d52745e0: '<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 = '4' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime[not(@nullFlavor)] (rule-reference: d16e13647-true-d52745e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='5']/*[not(@xsi:nil = 'true')][not(self::hl7:act[hl7:code[(@code = '5' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]])]"
         id="d16e13667-true-d52776e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13667-true-d52776e0: '<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:act[hl7:code[(@code = '5' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]] (rule-reference: d16e13667-true-d52776e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='5']/hl7:act[hl7:code[(@code = '5' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '5' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | self::hl7:statusCode[@code = 'completed'] | self::hl7:effectiveTime[not(@nullFlavor)])]"
         id="d16e13689-true-d52805e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13689-true-d52805e0: '<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 = '5' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime[not(@nullFlavor)] (rule-reference: d16e13689-true-d52805e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='6']/*[not(@xsi:nil = 'true')][not(self::hl7:act[hl7:code[(@code = '6' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]])]"
         id="d16e13709-true-d52836e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13709-true-d52836e0: '<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:act[hl7:code[(@code = '6' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]] (rule-reference: d16e13709-true-d52836e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='6']/hl7:act[hl7:code[(@code = '6' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '6' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | self::hl7:statusCode[@code = 'completed'] | self::hl7:effectiveTime[not(@nullFlavor)])]"
         id="d16e13731-true-d52865e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13731-true-d52865e0: '<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 = '6' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime[not(@nullFlavor)] (rule-reference: d16e13731-true-d52865e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='7'][not(@nullFlavor)]/*[not(@xsi:nil = 'true')][not(self::hl7:act[hl7:code[(@code = '7' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]])]"
         id="d16e13752-true-d52896e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13752-true-d52896e0: '<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:act[hl7:code[(@code = '7' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]] (rule-reference: d16e13752-true-d52896e0)</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.286']]]/hl7:organizer[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.286']]/hl7:component[hl7:act/hl7:code/@code='7'][not(@nullFlavor)]/hl7:act[hl7:code[(@code = '7' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')]]/*[not(@xsi:nil = 'true')][not(self::hl7:code[(@code = '7' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | self::hl7:statusCode[@code = 'completed'] | self::hl7:effectiveTime[not(@nullFlavor)])]"
         id="d16e13774-true-d52925e0">
      <assert role="error"
              see="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.286-2025-02-26T000000.html"
              test="not(.)">(plCdaDispatchAndResponseTimelineEntry)/d16e13774-true-d52925e0: '<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 = '7' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.5')] | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime[not(@nullFlavor)] (rule-reference: d16e13774-true-d52925e0)</assert>
   </rule>
</pattern>
