<?xml version="1.0" encoding="UTF-8"?>
<!--
Template derived pattern
===========================================
ID: 2.16.840.1.113883.3.4424.13.10.4.241
Name: [4] Ocena w skali Revised Trauma Score (RTS)
Description: Ocena w skali Revised Trauma Score (RTS)
-->
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
         id="template-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000">
   <title>[4] Ocena w skali Revised Trauma Score (RTS)</title>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]"
         id="d16e8115-false-d32501e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="count(hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']] appears too often [max 1x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]"
         id="d16e8179-false-d32518e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="string(@classCode) = ('OBS')">(plCdaRevisedTraumaScoreEntry): The value for classCode SHALL be 'OBS'. Found: "<value-of select="@classCode"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="string(@moodCode) = ('EVN')">(plCdaRevisedTraumaScoreEntry): The value for moodCode SHALL be 'EVN'. Found: "<value-of select="@moodCode"/>"</assert>
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="count(hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241'] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:code[(@code = 'RTS' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:code[(@code = 'RTS' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:code[(@code = 'RTS' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:code[(@code = 'RTS' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:statusCode[@code = 'completed']) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:statusCode[@code = 'completed'] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:statusCode[@code = 'completed']) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:statusCode[@code = 'completed'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:value[not(@nullFlavor)]) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:value[not(@nullFlavor)] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:value[not(@nullFlavor)]) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:value[not(@nullFlavor)] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSO']) &lt;= 2">(plCdaRevisedTraumaScoreEntry): element hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSO'] appears too often [max 2x].</assert>
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="count(hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSC']) &lt;= 2">(plCdaRevisedTraumaScoreEntry): element hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSC'] appears too often [max 2x].</assert>
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="count(hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSG']) &lt;= 2">(plCdaRevisedTraumaScoreEntry): element hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSG'] appears too often [max 2x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']"
         id="d16e8185-false-d32582e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="string(@root) = ('2.16.840.1.113883.3.4424.13.10.4.241')">(plCdaRevisedTraumaScoreEntry): The value for root SHALL be '2.16.840.1.113883.3.4424.13.10.4.241'. Found: "<value-of select="@root"/>"</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:code[(@code = 'RTS' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:code[(@code = 'RTS' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]"
         id="d16e8190-false-d32594e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="@nullFlavor or (@code='RTS' and @codeSystem='2.16.840.1.113883.3.4424.13.5.30.10' and @displayName='Revised Trauma Score' and @codeSystemName='SkaleMedyczne')">(plCdaRevisedTraumaScoreEntry): The element value SHALL be one of 'code 'RTS' codeSystem '2.16.840.1.113883.3.4424.13.5.30.10' displayName='Revised Trauma Score' codeSystemName='SkaleMedyczne''.</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:statusCode[@code = 'completed']
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:statusCode[@code = 'completed']"
         id="d16e8195-false-d32608e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="@nullFlavor or (@code='completed')">(plCdaRevisedTraumaScoreEntry): The element value SHALL be one of 'code 'completed''.</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:value[not(@nullFlavor)]
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSO']
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSO']"
         id="d16e8203-false-d32627e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="string(@typeCode) = ('COMP')">(plCdaRevisedTraumaScoreEntry): The value for typeCode SHALL be 'COMP'. Found: "<value-of select="@typeCode"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:observation[hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:observation[hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:observation[hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:observation[hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]] appears too often [max 1x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSO']/hl7:observation[hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSO']/hl7:observation[hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]"
         id="d16e8207-false-d32649e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="string(@classCode) = ('OBS')">(plCdaRevisedTraumaScoreEntry): The value for classCode SHALL be 'OBS'. Found: "<value-of select="@classCode"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="string(@moodCode) = ('EVN')">(plCdaRevisedTraumaScoreEntry): The value for moodCode SHALL be 'EVN'. Found: "<value-of select="@moodCode"/>"</assert>
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="count(hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:statusCode[@code = 'completed']) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:statusCode[@code = 'completed'] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:statusCode[@code = 'completed']) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:statusCode[@code = 'completed'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:value[not(@nullFlavor)]) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:value[not(@nullFlavor)] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:value[not(@nullFlavor)]) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:value[not(@nullFlavor)] appears too often [max 1x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSO']/hl7:observation[hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSO']/hl7:observation[hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]"
         id="d16e8213-false-d32692e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="@nullFlavor or (@code='RTSO' and @codeSystem='2.16.840.1.113883.3.4424.13.5.30.10' and @displayName='Revised Trauma Score - ocena częstości oddechów' and @codeSystemName='SkaleMedyczne')">(plCdaRevisedTraumaScoreEntry): The element value SHALL be one of 'code 'RTSO' codeSystem '2.16.840.1.113883.3.4424.13.5.30.10' displayName='Revised Trauma Score - ocena częstości oddechów' codeSystemName='SkaleMedyczne''.</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSO']/hl7:observation[hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:statusCode[@code = 'completed']
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSO']/hl7:observation[hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:statusCode[@code = 'completed']"
         id="d16e8218-false-d32706e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="@nullFlavor or (@code='completed')">(plCdaRevisedTraumaScoreEntry): The element value SHALL be one of 'code 'completed''.</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSO']/hl7:observation[hl7:code[(@code = 'RTSO' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:value[not(@nullFlavor)]
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSC']
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSC']"
         id="d16e8227-false-d32725e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="string(@typeCode) = ('COMP')">(plCdaRevisedTraumaScoreEntry): The value for typeCode SHALL be 'COMP'. Found: "<value-of select="@typeCode"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:observation[hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:observation[hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:observation[hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:observation[hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]] appears too often [max 1x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSC']/hl7:observation[hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSC']/hl7:observation[hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]"
         id="d16e8231-false-d32747e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="string(@classCode) = ('OBS')">(plCdaRevisedTraumaScoreEntry): The value for classCode SHALL be 'OBS'. Found: "<value-of select="@classCode"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="string(@moodCode) = ('EVN')">(plCdaRevisedTraumaScoreEntry): The value for moodCode SHALL be 'EVN'. Found: "<value-of select="@moodCode"/>"</assert>
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="count(hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:statusCode[@code = 'completed']) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:statusCode[@code = 'completed'] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:statusCode[@code = 'completed']) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:statusCode[@code = 'completed'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:value[not(@nullFlavor)]) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:value[not(@nullFlavor)] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:value[not(@nullFlavor)]) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:value[not(@nullFlavor)] appears too often [max 1x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSC']/hl7:observation[hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSC']/hl7:observation[hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]"
         id="d16e8237-false-d32790e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="@nullFlavor or (@code='RTSC' and @codeSystem='2.16.840.1.113883.3.4424.13.5.30.10' and @displayName='Revised Trauma Score - ocena skurczowego ciśnienia tętniczego' and @codeSystemName='SkaleMedyczne')">(plCdaRevisedTraumaScoreEntry): The element value SHALL be one of 'code 'RTSC' codeSystem '2.16.840.1.113883.3.4424.13.5.30.10' displayName='Revised Trauma Score - ocena skurczowego ciśnienia tętniczego' codeSystemName='SkaleMedyczne''.</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSC']/hl7:observation[hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:statusCode[@code = 'completed']
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSC']/hl7:observation[hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:statusCode[@code = 'completed']"
         id="d16e8242-false-d32804e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="@nullFlavor or (@code='completed')">(plCdaRevisedTraumaScoreEntry): The element value SHALL be one of 'code 'completed''.</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSC']/hl7:observation[hl7:code[(@code = 'RTSC' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:value[not(@nullFlavor)]
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSG']
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSG']"
         id="d16e8251-false-d32823e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="string(@typeCode) = ('COMP')">(plCdaRevisedTraumaScoreEntry): The value for typeCode SHALL be 'COMP'. Found: "<value-of select="@typeCode"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:observation[hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:observation[hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:observation[hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:observation[hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]] appears too often [max 1x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSG']/hl7:observation[hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSG']/hl7:observation[hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]"
         id="d16e8255-false-d32845e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="string(@classCode) = ('OBS')">(plCdaRevisedTraumaScoreEntry): The value for classCode SHALL be 'OBS'. Found: "<value-of select="@classCode"/>"</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="string(@moodCode) = ('EVN')">(plCdaRevisedTraumaScoreEntry): The value for moodCode SHALL be 'EVN'. Found: "<value-of select="@moodCode"/>"</assert>
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="count(hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:statusCode[@code = 'completed']) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:statusCode[@code = 'completed'] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:statusCode[@code = 'completed']) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:statusCode[@code = 'completed'] appears too often [max 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:value[not(@nullFlavor)]) &gt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:value[not(@nullFlavor)] is mandatory [min 1x].</assert>
      <assert role="error"
              see="https://www.csioz.gov.pl/HL7POL/pl-cda-html-pl-PL/plcda-html-develop/tmp-2.16.840.1.113883.3.4424.13.10.4.241-2025-02-26T000000.html"
              test="count(hl7:value[not(@nullFlavor)]) &lt;= 1">(plCdaRevisedTraumaScoreEntry): element hl7:value[not(@nullFlavor)] appears too often [max 1x].</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSG']/hl7:observation[hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSG']/hl7:observation[hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]"
         id="d16e8261-false-d32888e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="@nullFlavor or (@code='RTSG' and @codeSystem='2.16.840.1.113883.3.4424.13.5.30.10' and @displayName='Revised Trauma Score - ocena Glasgow Coma Scale' and @codeSystemName='SkaleMedyczne')">(plCdaRevisedTraumaScoreEntry): The element value SHALL be one of 'code 'RTSG' codeSystem '2.16.840.1.113883.3.4424.13.5.30.10' displayName='Revised Trauma Score - ocena Glasgow Coma Scale' codeSystemName='SkaleMedyczne''.</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSG']/hl7:observation[hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:statusCode[@code = 'completed']
Item: (plCdaRevisedTraumaScoreEntry)
-->

   <rule fpi="RULC-1"
         context="*[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSG']/hl7:observation[hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:statusCode[@code = 'completed']"
         id="d16e8266-false-d32902e0">
      <assert role="error"
              see="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.241-2025-02-26T000000.html"
              test="@nullFlavor or (@code='completed')">(plCdaRevisedTraumaScoreEntry): The element value SHALL be one of 'code 'completed''.</assert>
   </rule>
   <!--
Template derived rules for ID: 2.16.840.1.113883.3.4424.13.10.4.241
Context: *[hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]]/hl7:observation[hl7:templateId[@root = '2.16.840.1.113883.3.4424.13.10.4.241']]/hl7:entryRelationship[hl7:observation/hl7:code/@code='RTSG']/hl7:observation[hl7:code[(@code = 'RTSG' and @codeSystem = '2.16.840.1.113883.3.4424.13.5.30.10')]]/hl7:value[not(@nullFlavor)]
Item: (plCdaRevisedTraumaScoreEntry)
-->
</pattern>
