Template:Schematron Rule: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<assert test='.//cda:templateId[@root = "{{{6}}}"]'>{{If|test={{Equal|{{{5}}}|R}}|then= | <assert test='.//cda:templateId[@root = "{{{6}}}"]'>{{If|test={{Equal|{{{5}}}|R}}|then= | ||
<!-- Verify that all required data elements are present --> | <!-- Verify that all required data elements are present --> | ||
Error: A {{{2}}} must contain | Error: A {{{2}}} must contain {{{4}}}. | ||
}}{{If|test={{Equal|{{{5}}}|R2}}|then= | }}{{If|test={{Equal|{{{5}}}|R2}}|then= | ||
<!-- Alert on any missing required if known elements --> | <!-- Alert on any missing required if known elements --> | ||
Warning: A {{{2}}} should contain | Warning: A {{{2}}} should contain {{{4}}}. | ||
}}{{If|test={{Equal|{{{5}}}|O}}|then= | }}{{If|test={{Equal|{{{5}}}|O}}|then= | ||
<!-- Note any missing optional elements --> | <!-- Note any missing optional elements --> | ||
Note: This {{{2}}} does not contain | Note: This {{{2}}} does not contain {{{4}}}. | ||
}}{{If|test={{Equal|{{{5}}}|C}}|then= | }}{{If|test={{Equal|{{{5}}}|C}}|then= | ||
<!-- Manually test conditional elements --> | <!-- Manually test conditional elements --> | ||
Manual: This {{{2}}} does not contain | Manual: This {{{2}}} does not contain {{{4}}}. | ||
}} | }} | ||
{{{7|}}} | {{{7|}}} | ||
Revision as of 15:37, 18 May 2007
<assert test='.//cda:templateId[@root = "{{{6}}}"]'>
See http://www.ihe.net/index.php/{{{3}}}
</assert>
{{Schematron Rule|1|2|3|4|5|6|7}}
- 1
- Type of Entry
- 2
- Name of Entry being tested
- 3
- OID of Entry being tested
- 4
- Name of component.
- 5
- Optionality of component
- 6
- OID of component
- 7
- Comment on component