|
|
| (8 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| {{If|test={{Equal|{{{3}}}|R}}|then=
| | |
| <!-- Verify that all required data elements are present -->
| |
| <assert test='.//cda:component/cda:section/cda:templateId[@root = "{{{4}}}"]'>
| |
| Error: A {{{1}}} must contain a {{{2}}} section.
| |
| </assert>
| |
| }}{{If|test={{Equal|{{{3}}}|R2}}|then=
| |
| <!-- Alert on any missing required if known elements -->
| |
| <assert test='.//templateId[@root = "{{{4}}}"]'>
| |
| Warning: A {{{1}}} should contain a {{{2}}} section.
| |
| </assert>
| |
| }}{{If|test={{Equal|{{{3}}}|O}}|then=
| |
| <!-- Note any missing optional elements -->
| |
| <assert test='.//templateId[@root = "{{{4}}}"]'>
| |
| Note: This {{{1}}} does not contain a {{{2}}} section.
| |
| </assert>
| |
| }}{{If|test={{Equal|{{{3}}}|C}}|then=
| |
| <!-- Note any missing optional elements -->
| |
| <assert test='.//templateId[@root = "{{{4}}}"]'>
| |
| Manual: This {{{1}}} does not contain a {{{2}}} section.
| |
| {{{5}}}
| |
| </assert>
| |
| }}
| |