Template:CDA Document: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 74: | Line 74: | ||
</assert><br/>{{If|test={{{Parent|}}}|then= | </assert><br/>{{If|test={{{Parent|}}}|then= | ||
<!-- Verify that the parent templateId is also present. --><br/> | <!-- Verify that the parent templateId is also present. --><br/> | ||
<assert test='templateId[@root="{{{Parent}}}"]'> | <assert test='templateId[@root="{{{Parent}}}"]'><br/> | ||
Error: The parent template identifier for | Error: The parent template identifier for {{{1}}} is not present.<br/> | ||
</assert><br/> | </assert><br/> | ||
}}}}{{If|test={{{LOINC|}}}|then= | }}}}{{If|test={{{LOINC|}}}|then= | ||
<!-- Verify the document type code --><br/> | <!-- Verify the document type code --><br/> | ||
<assert test='code[@code = "{{{LOINC}}}"]'><br/> | <assert test='code[@code = "{{{LOINC}}}"]'><br/> | ||
Error: The document type code of a {{{ | Error: The document type code of a {{{1}}} must be {{{LOINC}}}<br/> | ||
</assert><br/> | |||
<assert test='code[@codeSystem = "2.16.840.1.113883.6.1"]'><br/> | |||
Error: The document type code must come from the LOINC code <br/> | |||
system (2.16.840.1.113883.6.1).<br/> | |||
</assert><br/> | </assert><br/> | ||
}}{{If|test={{{5|}}}|then={{Schematron Rule|{{{5}}}|{{{1}}}|{{{2}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}}} | }}{{If|test={{{5|}}}|then={{Schematron Rule|{{{5}}}|{{{1}}}|{{{2}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}}} | ||
}}{{If|test={{{10|}}}|then={{Schematron Rule|{{{10}}}|{{{1}}}|{{{2}}}|{{{11}}}|{{{12}}}|{{{13}}}|{{{14}}}}} | }}{{If|test={{{10|}}}|then={{Schematron Rule|{{{10}}}|{{{1}}}|{{{2}}}|{{{11}}}|{{{12}}}|{{{13}}}|{{{14}}}}} | ||