Difference between revisions of "2.16.840.1.113883.10.22.4.31/static-2017-05-02T000000"
(Automatic ADBot page (12f755671b9c8cd74f4e64a3a7b4561672f01fdb)) |
(Automatic ADBot page (12f755671b9c8cd74f4e64a3a7b4561672f01fdb)) |
||
Line 1: | Line 1: | ||
− | <table xmlns="http://www.w3.org/1999/xhtml" width="100%" border="0" cellspacing="3" cellpadding="2" class="artdecor " style="background: transparent;"><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Id</th><td style="text-align: left;"></td><th style="width: 20em; text-align: left;">Effective Date</th><td style="text-align: left;">2017‑05‑02</td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Status</th><td style="text-align: left;">[[File:Korange.png|14px]] Under pre-publication review</td><th style="width: 20em; text-align: left;">Version Label</th><td style="text-align: left;">STU1</td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Name</th><td style="text-align: left;">IPSEntryInternalReference</td><th style="width: 20em; text-align: left;">Display Name</th><td style="text-align: left;">IPS Internal Reference</td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Description</th><td style="text-align: left;" colspan="3">This template is used to reference (point to) information contained in other entries within the same document.</td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Classification</th><td style="text-align: left;" colspan="3">CDA Entry Level Template</td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Open/Closed</th><td style="text-align: left;" colspan="3">Open (other than defined elements are allowed)</td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Relationship</th><td style="text-align: left;" colspan="3">Adaptation: template</td></tr><tr class="explabel " style="vertical-align: top;"><td style="width: 20em; text-align: left;">Example</td><td colspan="3" class="explabelblue"><table width="100%" border="0" cellspacing="3" cellpadding="2" class="artdecor treetable" style="background: transparent;"><tr class="desclabel"><td style="height: 1.5em;" class="togglertreetable"><span class="expcaption">Reference to an uncoded element</span></td></tr><tr><td><span style="font-family: 'Courier New', Courier, monospace; "><span style="display: block;" class="explrendered"><span class="ppsign"><</span><span class="ppelement">act</span> <span class="ppattribute">classCode</span><span class="ppsign">="</span><span class="ppcontent">ACT</span><span class="ppsign">"</span> <span class="ppattribute">moodCode</span><span class="ppsign">="</span><span class="ppcontent">cs</span><span class="ppsign">"</span><span class="ppsign">></span><br /><span style="display: block;" class="explrendered"> <span class="ppsign"><</span><span class="ppelement">templateId</span> <span class="ppattribute">root</span><span class="ppsign">="</span><span class="ppcontent">2.16.840.1.113883.10.22.4.31</span><span class="ppsign">"</span><span class="ppsign">/</span><span class="ppsign">></span></span><span style="display: block;" class="explrendered"> <span class="ppsign"><</span><span class="ppelement">id</span> <span class="ppattribute">root</span><span class="ppsign">="</span><span class="ppcontent">1.2.3.999</span><span class="ppsign">"</span> <span class="ppattribute">extension</span><span class="ppsign">="</span><span class="ppcontent">__example only__</span><span class="ppsign">"</span><span class="ppsign">/</span><span class="ppsign">></span></span><span style="display: block;" class="explrendered"> <span class="ppsign"><</span><span class="ppelement">code</span> <span class="ppattribute">nullFlavor</span><span class="ppsign">="</span><span class="ppcontent">NA</span><span class="ppsign">"</span><span class="ppsign">/</span><span class="ppsign">></span></span><span class="ppsign"></</span><span class="ppnamespace"></span><span class="ppelement">act</span><span class="ppsign">></span></span></span></td></tr></table></td></tr><tr style="vertical-align: top;"><td colspan="4" class="tabtab"><table id="transactionTable" width="100%" border="0" cellspacing="3" cellpadding="2" class="artdecor treetable" style="background: transparent;"><tr><th style="width: 30%; text-align: left;">Item</th><th style="width: 2em; text-align: left;">DT</th><th style="width: 2em; text-align: left;">Card</th><th style="width: 2em; text-align: left;">Conf</th><th style="text-align: left;">Description</th><th style="width: 2em; text-align: left;">Label</th></tr><tr style="vertical-align: top; background-color: #FFEAEA;"><td class="columnName"><table cellpadding="1" class="artdecor ad-diffblock-horizontal " style="background: transparent;border: none;"><tr><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">hl7:act<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td><strong></strong></td><td><span style="color: black;"><strong></strong></span></td><td><span style="color: color: black;"><strong>R</strong></span></td><td></td><td style="background-color: #FFEEEE;"><span title="">(IPS...nce)</span></td></tr><tr><td style="vertical-align: top;" class="columnName"><table cellpadding="1" class="artdecor " style="background: transparent;border: 0;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">@classCode<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td>cs</td><td><span><strong>1 … 1</strong></span></td><td>F</td><td style="vertical-align: top;" colspan="2">ACT</td></tr><tr><td style="vertical-align: top;" class="columnName"><table cellpadding="1" class="artdecor " style="background: transparent;border: 0;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">@moodCode<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td>cs</td><td><span><strong>1 … 1</strong></span></td><td>R</td><td style="vertical-align: top;" colspan="2">The @moodCode of the reference SHALL match the @moodCode of the referenced element</td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="2" class="defvar">Variable let</td><td style="background-color: #FFEEEE;">Name</td><td colspan="2">refMoodCode</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Value</td><td colspan="2">@moodCode</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="2" class="defvar">Variable let</td><td style="background-color: #FFEEEE;">Name</td><td colspan="2">refID</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Value</td><td colspan="2">concat(hl7:id[1]/@root,'#',hl7:id[1]/@extension)</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="2" class="defvar">Variable let</td><td style="background-color: #FFEEEE;">Name</td><td colspan="2">refCode</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Value</td><td colspan="2">concat(hl7:code[1]/@code,'#',hl7:code[1]/@codeSystem)</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="2" class="defvar">Variable let</td><td style="background-color: #FFEEEE;">Name</td><td colspan="2">reffedObject</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Value</td><td colspan="2">(ancestor::hl7:ClinicalDocument//*:id[concat(@root,'#',@extension)=$refID][not(preceding-sibling::hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1')]/parent::*)[1]</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="3" class="stron">Schematron assert</td><td style="background-color: #FFEEEE;">role</td><td colspan="2"> error</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">test</td><td colspan="2">not(exists($reffedObject)) or $reffedObject[@moodCode=$refMoodCode]</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Message</td><td colspan="2"><span class="pptext">The @moodCode of the reference SHALL match the @moodCode of the referenced element</span></td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="3" class="stron">Schematron assert</td><td style="background-color: #FFEEEE;">role</td><td colspan="2"> error</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">test</td><td colspan="2">exists($reffedObject)</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Message</td><td colspan="2"><span class="pptext">The root and extension attributes SHALL identify an element defined elsewhere in the same document.</span></td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="3" class="stron">Schematron assert</td><td style="background-color: #FFEEEE;">role</td><td colspan="2"> error</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">test</td><td colspan="2">not(exists($reffedObject)) or ($reffedObject[not(*:code/@code)] and hl7:code[@nullFlavor='NA']) or $reffedObject/*:code[concat(@code,'#',@codeSystem)=$refCode]</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Message</td><td colspan="2"><span class="pptext">The code of the reference SHALL match the code of the referenced element</span></td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top; background-color: #FFEAEA;"><td class="columnName"><table cellpadding="1" class="artdecor ad-diffblock-horizontal " style="background: transparent;border: none;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">hl7:templateId<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td><strong>II</strong></td><td><span style="color: black;"><strong>1 … 1</strong></span></td><td><span style="color: color: black;"><strong>M</strong></span></td><td></td><td style="background-color: #FFEEEE;"><span title="">(IPS...nce)</span></td></tr><tr><td style="vertical-align: top;" class="columnName"><table cellpadding="1" class="artdecor " style="background: transparent;border: 0;"><tr><td style="vertical-align: top;">[[File:Treeblank.png|16px]]</td><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">@root<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td>uid</td><td><span><strong>1 … 1</strong></span></td><td>F</td><td style="vertical-align: top;" colspan="2">2.16.840.1.113883.10.22.4.31</td></tr><tr style="vertical-align: top; background-color: #FFEAEA;"><td class="columnName"><table cellpadding="1" class="artdecor ad-diffblock-horizontal " style="background: transparent;border: none;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">hl7:id<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td><strong>II</strong></td><td><span style="color: black;"><strong>1 … 1</strong></span></td><td><span style="color: color: black;"><strong>R</strong></span></td><td>This element shall be present. The root and extension attributes shall identify an element defined elsewhere in the same document.</td><td style="background-color: #FFEEEE;"><span title="">(IPS...nce)</span></td></tr><tr style="vertical-align: top; background-color: #FFEAEA;"><td class="columnName"><table cellpadding="1" class="artdecor ad-diffblock-horizontal " style="background: transparent;border: none;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">hl7:code<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td><strong>CD</strong></td><td><span style="color: black;"><strong>1 … 1</strong></span></td><td><span style="color: color: black;"><strong>R</strong></span></td><td>This element shall be present. It shall be valued when the internal reference is to element that has a <code> element, and shall have the same attributes as the <code> element in the act it references. If the element it references does not have a <code> element, then the nullFlavor attribute should be set to "NA".</td><td style="background-color: #FFEEEE;"><span title="">(IPS...nce)</span></td></tr><tr><td style="vertical-align: top;" class="columnName"><table cellpadding="1" class="artdecor " style="background: transparent;border: 0;"><tr><td style="vertical-align: top;">[[File:Treeblank.png|16px]]</td><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">@nullFlavor<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td>cs</td><td><span><strong>0 … 1</strong></span></td><td>F</td><td style="vertical-align: top;" colspan="2">NA</td></tr></table></td></tr></table> | + | <table xmlns="http://www.w3.org/1999/xhtml" width="100%" border="0" cellspacing="3" cellpadding="2" class="artdecor " style="background: transparent;"><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Id</th><td style="text-align: left;">2.16.840.1.113883.10.22.4.31||</td><th style="width: 20em; text-align: left;">Effective Date</th><td style="text-align: left;">2017‑05‑02</td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Status</th><td style="text-align: left;">[[File:Korange.png|14px]] Under pre-publication review</td><th style="width: 20em; text-align: left;">Version Label</th><td style="text-align: left;">STU1</td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Name</th><td style="text-align: left;">IPSEntryInternalReference</td><th style="width: 20em; text-align: left;">Display Name</th><td style="text-align: left;">IPS Internal Reference</td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Description</th><td style="text-align: left;" colspan="3">This template is used to reference (point to) information contained in other entries within the same document.</td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Classification</th><td style="text-align: left;" colspan="3">CDA Entry Level Template</td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Open/Closed</th><td style="text-align: left;" colspan="3">Open (other than defined elements are allowed)</td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Relationship</th><td style="text-align: left;" colspan="3">Adaptation: template</td></tr><tr class="explabel " style="vertical-align: top;"><td style="width: 20em; text-align: left;">Example</td><td colspan="3" class="explabelblue"><table width="100%" border="0" cellspacing="3" cellpadding="2" class="artdecor treetable" style="background: transparent;"><tr class="desclabel"><td style="height: 1.5em;" class="togglertreetable"><span class="expcaption">Reference to an uncoded element</span></td></tr><tr><td><span style="font-family: 'Courier New', Courier, monospace; "><span style="display: block;" class="explrendered"><span class="ppsign"><</span><span class="ppelement">act</span> <span class="ppattribute">classCode</span><span class="ppsign">="</span><span class="ppcontent">ACT</span><span class="ppsign">"</span> <span class="ppattribute">moodCode</span><span class="ppsign">="</span><span class="ppcontent">cs</span><span class="ppsign">"</span><span class="ppsign">></span><br /><span style="display: block;" class="explrendered"> <span class="ppsign"><</span><span class="ppelement">templateId</span> <span class="ppattribute">root</span><span class="ppsign">="</span><span class="ppcontent">2.16.840.1.113883.10.22.4.31</span><span class="ppsign">"</span><span class="ppsign">/</span><span class="ppsign">></span></span><span style="display: block;" class="explrendered"> <span class="ppsign"><</span><span class="ppelement">id</span> <span class="ppattribute">root</span><span class="ppsign">="</span><span class="ppcontent">1.2.3.999</span><span class="ppsign">"</span> <span class="ppattribute">extension</span><span class="ppsign">="</span><span class="ppcontent">__example only__</span><span class="ppsign">"</span><span class="ppsign">/</span><span class="ppsign">></span></span><span style="display: block;" class="explrendered"> <span class="ppsign"><</span><span class="ppelement">code</span> <span class="ppattribute">nullFlavor</span><span class="ppsign">="</span><span class="ppcontent">NA</span><span class="ppsign">"</span><span class="ppsign">/</span><span class="ppsign">></span></span><span class="ppsign"></</span><span class="ppnamespace"></span><span class="ppelement">act</span><span class="ppsign">></span></span></span></td></tr></table></td></tr><tr style="vertical-align: top;"><td colspan="4" class="tabtab"><table id="transactionTable" width="100%" border="0" cellspacing="3" cellpadding="2" class="artdecor treetable" style="background: transparent;"><tr><th style="width: 30%; text-align: left;">Item</th><th style="width: 2em; text-align: left;">DT</th><th style="width: 2em; text-align: left;">Card</th><th style="width: 2em; text-align: left;">Conf</th><th style="text-align: left;">Description</th><th style="width: 2em; text-align: left;">Label</th></tr><tr style="vertical-align: top; background-color: #FFEAEA;"><td class="columnName"><table cellpadding="1" class="artdecor ad-diffblock-horizontal " style="background: transparent;border: none;"><tr><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">hl7:act<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td><strong></strong></td><td><span style="color: black;"><strong></strong></span></td><td><span style="color: color: black;"><strong>R</strong></span></td><td></td><td style="background-color: #FFEEEE;"><span title="">(IPS...nce)</span></td></tr><tr><td style="vertical-align: top;" class="columnName"><table cellpadding="1" class="artdecor " style="background: transparent;border: 0;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">@classCode<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td>cs</td><td><span><strong>1 … 1</strong></span></td><td>F</td><td style="vertical-align: top;" colspan="2">ACT</td></tr><tr><td style="vertical-align: top;" class="columnName"><table cellpadding="1" class="artdecor " style="background: transparent;border: 0;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">@moodCode<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td>cs</td><td><span><strong>1 … 1</strong></span></td><td>R</td><td style="vertical-align: top;" colspan="2">The @moodCode of the reference SHALL match the @moodCode of the referenced element</td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="2" class="defvar">Variable let</td><td style="background-color: #FFEEEE;">Name</td><td colspan="2">refMoodCode</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Value</td><td colspan="2">@moodCode</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="2" class="defvar">Variable let</td><td style="background-color: #FFEEEE;">Name</td><td colspan="2">refID</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Value</td><td colspan="2">concat(hl7:id[1]/@root,'#',hl7:id[1]/@extension)</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="2" class="defvar">Variable let</td><td style="background-color: #FFEEEE;">Name</td><td colspan="2">refCode</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Value</td><td colspan="2">concat(hl7:code[1]/@code,'#',hl7:code[1]/@codeSystem)</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="2" class="defvar">Variable let</td><td style="background-color: #FFEEEE;">Name</td><td colspan="2">reffedObject</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Value</td><td colspan="2">(ancestor::hl7:ClinicalDocument//*:id[concat(@root,'#',@extension)=$refID][not(preceding-sibling::hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1')]/parent::*)[1]</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="3" class="stron">Schematron assert</td><td style="background-color: #FFEEEE;">role</td><td colspan="2"> error</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">test</td><td colspan="2">not(exists($reffedObject)) or $reffedObject[@moodCode=$refMoodCode]</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Message</td><td colspan="2"><span class="pptext">The @moodCode of the reference SHALL match the @moodCode of the referenced element</span></td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="3" class="stron">Schematron assert</td><td style="background-color: #FFEEEE;">role</td><td colspan="2"> error</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">test</td><td colspan="2">exists($reffedObject)</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Message</td><td colspan="2"><span class="pptext">The root and extension attributes SHALL identify an element defined elsewhere in the same document.</span></td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td rowspan="3" class="stron">Schematron assert</td><td style="background-color: #FFEEEE;">role</td><td colspan="2"> error</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">test</td><td colspan="2">not(exists($reffedObject)) or ($reffedObject[not(*:code/@code)] and hl7:code[@nullFlavor='NA']) or $reffedObject/*:code[concat(@code,'#',@codeSystem)=$refCode]</td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top;"><td style="background-color: white;" colspan="1"> </td><td style="background-color: #FFEEEE;">Message</td><td colspan="2"><span class="pptext">The code of the reference SHALL match the code of the referenced element</span></td><td style="background-color: white;"> </td></tr><tr style="vertical-align: top; background-color: #FFEAEA;"><td class="columnName"><table cellpadding="1" class="artdecor ad-diffblock-horizontal " style="background: transparent;border: none;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">hl7:templateId<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td><strong>II</strong></td><td><span style="color: black;"><strong>1 … 1</strong></span></td><td><span style="color: color: black;"><strong>M</strong></span></td><td></td><td style="background-color: #FFEEEE;"><span title="">(IPS...nce)</span></td></tr><tr><td style="vertical-align: top;" class="columnName"><table cellpadding="1" class="artdecor " style="background: transparent;border: 0;"><tr><td style="vertical-align: top;">[[File:Treeblank.png|16px]]</td><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">@root<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td>uid</td><td><span><strong>1 … 1</strong></span></td><td>F</td><td style="vertical-align: top;" colspan="2">2.16.840.1.113883.10.22.4.31</td></tr><tr style="vertical-align: top; background-color: #FFEAEA;"><td class="columnName"><table cellpadding="1" class="artdecor ad-diffblock-horizontal " style="background: transparent;border: none;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">hl7:id<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td><strong>II</strong></td><td><span style="color: black;"><strong>1 … 1</strong></span></td><td><span style="color: color: black;"><strong>R</strong></span></td><td>This element shall be present. The root and extension attributes shall identify an element defined elsewhere in the same document.</td><td style="background-color: #FFEEEE;"><span title="">(IPS...nce)</span></td></tr><tr style="vertical-align: top; background-color: #FFEAEA;"><td class="columnName"><table cellpadding="1" class="artdecor ad-diffblock-horizontal " style="background: transparent;border: none;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">hl7:code<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td><strong>CD</strong></td><td><span style="color: black;"><strong>1 … 1</strong></span></td><td><span style="color: color: black;"><strong>R</strong></span></td><td>This element shall be present. It shall be valued when the internal reference is to element that has a <code> element, and shall have the same attributes as the <code> element in the act it references. If the element it references does not have a <code> element, then the nullFlavor attribute should be set to "NA".</td><td style="background-color: #FFEEEE;"><span title="">(IPS...nce)</span></td></tr><tr><td style="vertical-align: top;" class="columnName"><table cellpadding="1" class="artdecor " style="background: transparent;border: 0;"><tr><td style="vertical-align: top;">[[File:Treeblank.png|16px]]</td><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><span xmlns="" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;">@nullFlavor<br xmlns="http://www.w3.org/1999/xhtml" /></span></td></tr></table></td><td>cs</td><td><span><strong>0 … 1</strong></span></td><td>F</td><td style="vertical-align: top;" colspan="2">NA</td></tr></table></td></tr></table> |
− | <!-- | + | <!--0424ff8850a021a6e5f5943d1fbdf11e89ab95ac--> |