Difference between revisions of "2.16.840.1.113883.10.22.4.31/static-2017-05-02T000000"

From HL7 IPS
Jump to: navigation, search
(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;">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 1.3.6.1.4.1.19376.1.5.3.1.4.4.1 <i>Internal Reference </i> (2013‑12‑20) <span xmlns="" class="repobox"><div class="repo ref sspacing">ref</div><div class="non-selectable repo refvalue sspacing">epsos-</div></span></td></tr><tr class="explabel " style="vertical-align: top;"><th class="" style="width: 20em; text-align: left;">Example</th><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, 'Courier New', monospace; "><span style="display: block;" class="explrendered"><span class="ppsign">&lt;</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">&gt;</span><br /><span style="display: block;" class="explrendered">  <span class="ppsign">&lt;</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">&gt;</span></span><span style="display: block;" class="explrendered">  <span class="ppsign">&lt;</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">&gt;</span></span><span style="display: block;" class="explrendered">  <span class="ppsign">&lt;</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">&gt;</span></span><span class="ppsign">&lt;/</span><span class="ppnamespace"></span><span class="ppelement">act</span><span class="ppsign">&gt;</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, 'Courier New', 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 style="vertical-align: top;"><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, 'Courier New', 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 style="vertical-align: top;"><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, 'Courier New', 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, 'Courier New', 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 style="vertical-align: top;"><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, 'Courier New', 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, 'Courier New', 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, 'Courier New', 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 &lt;code&gt; element, and shall have the same attributes as the &lt;code&gt; element in the act it references. If the element it references does not have a &lt;code&gt; element, then the nullFlavor attribute should be set to "NA".</td><td style="background-color: #FFEEEE;"><span title="">(IPS...nce)</span></td></tr><tr style="vertical-align: top;"><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, 'Courier New', 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 1.3.6.1.4.1.19376.1.5.3.1.4.4.1 <i>IHE Internal Reference Entry </i> (2013‑12‑20) <span xmlns="" class="repobox"><div class="repo ref sspacing">ref</div><div class="non-selectable repo refvalue sspacing">IHE-PCC-</div></span></td></tr><tr class="explabel " style="vertical-align: top;"><th class="" style="width: 20em; text-align: left;">Example</th><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, 'Courier New', monospace; "><span style="display: block;" class="explrendered"><span class="ppsign">&lt;</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">&gt;</span><br /><span style="display: block;" class="explrendered">  <span class="ppsign">&lt;</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">&gt;</span></span><span style="display: block;" class="explrendered">  <span class="ppsign">&lt;</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">&gt;</span></span><span style="display: block;" class="explrendered">  <span class="ppsign">&lt;</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">&gt;</span></span><span class="ppsign">&lt;/</span><span class="ppnamespace"></span><span class="ppelement">act</span><span class="ppsign">&gt;</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, 'Courier New', 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 style="vertical-align: top;"><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, 'Courier New', 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 style="vertical-align: top;"><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, 'Courier New', 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, 'Courier New', 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 style="vertical-align: top;"><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, 'Courier New', 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, 'Courier New', 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, 'Courier New', 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 &lt;code&gt; element, and shall have the same attributes as the &lt;code&gt; element in the act it references. If the element it references does not have a &lt;code&gt; element, then the nullFlavor attribute should be set to "NA".</td><td style="background-color: #FFEEEE;"><span title="">(IPS...nce)</span></td></tr><tr style="vertical-align: top;"><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, 'Courier New', 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>
<!--6ef0750c03a11cd2bd39b1fce86a3e0682739c74-->
+
<!--9ccf1ad591f54503f46e6381525a53b81c1e23c1-->

Latest revision as of 05:11, 16 April 2024

Id2.16.840.1.113883.10.22.4.31Effective Date2017‑05‑02
StatusKorange.png Under pre-publication reviewVersion LabelSTU1
NameIPSEntryInternalReferenceDisplay NameIPS Internal Reference
DescriptionThis template is used to reference (point to) information contained in other entries within the same document.
ClassificationCDA Entry Level Template
Open/ClosedOpen (other than defined elements are allowed)
RelationshipAdaptation: template 1.3.6.1.4.1.19376.1.5.3.1.4.4.1 IHE Internal Reference Entry (2013‑12‑20)
ref
IHE-PCC-
Example
Reference to an uncoded element
<act classCode="ACT" moodCode="cs">
  <templateId root="2.16.840.1.113883.10.22.4.31"/>  <id root="1.2.3.999" extension="__example only__"/>  <code nullFlavor="NA"/></act>
ItemDTCardConfDescriptionLabel
hl7:act
R(IPS...nce)
Treetree.png@classCode
cs1 … 1FACT
Treetree.png@moodCode
cs1 … 1RThe @moodCode of the reference SHALL match the @moodCode of the referenced element
 Variable letNamerefMoodCode 
 Value@moodCode 
 Variable letNamerefID 
 Valueconcat(hl7:id[1]/@root,'#',hl7:id[1]/@extension) 
 Variable letNamerefCode 
 Valueconcat(hl7:code[1]/@code,'#',hl7:code[1]/@codeSystem) 
 Variable letNamereffedObject 
 Value(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] 
 Schematron assertrole error 
 testnot(exists($reffedObject)) or $reffedObject[@moodCode=$refMoodCode] 
 MessageThe @moodCode of the reference SHALL match the @moodCode of the referenced element 
 Schematron assertrole error 
 testexists($reffedObject) 
 MessageThe root and extension attributes SHALL identify an element defined elsewhere in the same document. 
 Schematron assertrole error 
 testnot(exists($reffedObject)) or ($reffedObject[not(*:code/@code)] and hl7:code[@nullFlavor='NA']) or $reffedObject/*:code[concat(@code,'#',@codeSystem)=$refCode] 
 MessageThe code of the reference SHALL match the code of the referenced element 
Treetree.pnghl7:templateId
II1 … 1M(IPS...nce)
Treeblank.pngTreetree.png@root
uid1 … 1F2.16.840.1.113883.10.22.4.31
Treetree.pnghl7:id
II1 … 1RThis element shall be present. The root and extension attributes shall identify an element defined elsewhere in the same document.(IPS...nce)
Treetree.pnghl7:code
CD1 … 1RThis 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".(IPS...nce)
Treeblank.pngTreetree.png@nullFlavor
cs0 … 1FNA