Template:CDA Document: Difference between revisions

From IHE Wiki
Jump to navigation Jump to search
Kboone (talk | contribs)
mNo edit summary
Kboone (talk | contribs)
mNo edit summary
Line 74: Line 74:
&nbsp;&nbsp;&nbsp;&nbsp;</assert><br/>{{If|test={{{Parent|}}}|then=
&nbsp;&nbsp;&nbsp;&nbsp;</assert><br/>{{If|test={{{Parent|}}}|then=
&nbsp;&nbsp;&nbsp;&nbsp;<!-- Verify that the parent templateId is also present. --><br/>
&nbsp;&nbsp;&nbsp;&nbsp;<!-- Verify that the parent templateId is also present. --><br/>
&nbsp;&nbsp;&nbsp;&nbsp;<assert test='templateId[@root="{{{Parent}}}"]'>
&nbsp;&nbsp;&nbsp;&nbsp;<assert test='templateId[@root="{{{Parent}}}"]'><br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Error: The parent template identifier for medical summary is not present.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Error: The parent template identifier for {{{1}}} is not present.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;</assert><br/>
&nbsp;&nbsp;&nbsp;&nbsp;</assert><br/>
}}}}{{If|test={{{LOINC|}}}|then=
}}}}{{If|test={{{LOINC|}}}|then=
&nbsp;&nbsp;&nbsp;&nbsp;<!-- Verify the document type code --><br/>
&nbsp;&nbsp;&nbsp;&nbsp;<!-- Verify the document type code --><br/>
&nbsp;&nbsp;&nbsp;&nbsp;<assert test='code[@code = "{{{LOINC}}}"]'><br/>
&nbsp;&nbsp;&nbsp;&nbsp;<assert test='code[@code = "{{{LOINC}}}"]'><br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Error: The document type code of a {{{2}}} must be {{{LOINC}}}<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Error: The document type code of a {{{1}}} must be {{{LOINC}}}<br/>
&nbsp;&nbsp;&nbsp;&nbsp;</assert><br/>
&nbsp;&nbsp;&nbsp;&nbsp;<assert test='code[@codeSystem = "2.16.840.1.113883.6.1"]'><br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Error: The document type code must come from the LOINC code <br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;system (2.16.840.1.113883.6.1).<br/>
&nbsp;&nbsp;&nbsp;&nbsp;</assert><br/>
&nbsp;&nbsp;&nbsp;&nbsp;</assert><br/>
&nbsp;&nbsp;<assert test='code[@codeSystem = "2.16.840.1.113883.6.1"]'><br/>
&nbsp;&nbsp;&nbsp;&nbsp;Error: The document type code must come from the LOINC code <br/>
&nbsp;&nbsp;&nbsp;&nbsp;system (2.16.840.1.113883.6.1).<br/>
&nbsp;&nbsp;</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}}}}}

Revision as of 18:34, 18 May 2007

{{{1}}} Specification {{{2}}}