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

From HL7 IPS
Jump to: navigation, search
(Automated ADBot page content)
(Automated ADBot page content)
Line 1: Line 1:
<table xmlns="http://www.w3.org/1999/xhtml" class="artdecor" width="100%" border="0" cellspacing="3" cellpadding="2" 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<div>Other versions this id:<ul></ul></div></td></tr><tr style="vertical-align: top;"><th style="width: 20em; text-align: left;">Status</th><td style="text-align: left;">[[File:Kyellow.png|14px]] Draft</td><th style="width: 20em; text-align: left;">Version Label</th><td style="text-align: left;"></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;">Used by / Uses</th><td style="text-align: left;" colspan="3"><table class="treetable" width="100%" border="0" cellspacing="3" cellpadding="2" style="background: transparent;"><tr class="desclabel"><td style="height: 1.5em;">Used by 0 transactions and 3 templates, Uses 0 templates</td></tr><tr><td><div><table class="artdecor" width="100%" border="0" cellspacing="1" cellpadding="3" style="background: transparent;"><tr><th style="width: 20%; text-align: left;">Used by</th><th style="width: 1%; text-align: left;"> as </th><th style="width: 60%; text-align: left;">Name</th><th style="width: 19%; text-align: left;">Version</th></tr><tr><td style="text-align: left;">2.16.840.1.113883.10.22.4.17</td><td style="text-align: left;">Containment</td><td style="text-align: left;">[[File:Kyellow.png|14px]] IPS Procedure Entry</td><td style="text-align: left;">2017‑03‑27</td></tr><tr><td style="text-align: left;">2.16.840.1.113883.10.22.3.4</td><td style="text-align: left;">[[File:Link.png|14px]]</td><td style="text-align: left;">[[File:Kyellow.png|14px]] IPS History of Procedures Section</td><td style="text-align: left;">2017‑03‑27</td></tr><tr><td style="text-align: left;">2.16.840.1.113883.10.22.1.1</td><td style="text-align: left;">[[File:Link.png|14px]]</td><td style="text-align: left;">[[File:Kyellow.png|14px]] International Patient Summary</td><td style="text-align: left;">2017‑04‑11</td></tr></table></div></td></tr></table></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> </i> (2013‑12‑20)</td></tr><tr class="explabel " style="vertical-align: top;"><td style="width: 20em; text-align: left;">Example</td><td colspan="3" class="explabelblue"><table class="treetable" width="100%" border="0" cellspacing="3" cellpadding="2" 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><tt><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></tt></td></tr></table></td></tr><tr style="vertical-align: top;"><td colspan="4" class="tabtab"><table class="treetable" id="transactionTable" width="100%" border="0" cellspacing="3" cellpadding="2" 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 class="ad-diffblock-horizontal " cellpadding="1" style="background: transparent;"><tr><td><tt><strong>hl7:act<br /></strong></tt></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 class="artdecor" cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>@classCode<br /></strong></tt></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 class="artdecor" cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>@moodCode<br /></strong></tt></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">[[File:Kred.png|14px]] 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">[[File:Kred.png|14px]] 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">[[File:Kred.png|14px]] 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 class="ad-diffblock-horizontal " cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>hl7:templateId<br /></strong></tt></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 class="artdecor" cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treeblank.png|16px]]</td><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>@root<br /></strong></tt></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 class="ad-diffblock-horizontal " cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>hl7:id<br /></strong></tt></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 class="ad-diffblock-horizontal " cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>hl7:code<br /></strong></tt></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><td style="vertical-align: top;" class="columnName"><table class="artdecor" cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treeblank.png|16px]]</td><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>@nullFlavor<br /></strong></tt></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" class="artdecor" width="100%" border="0" cellspacing="3" cellpadding="2" 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<div>Other versions this id:<ul></ul></div></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> </i> (2013‑12‑20)</td></tr><tr class="explabel " style="vertical-align: top;"><td style="width: 20em; text-align: left;">Example</td><td colspan="3" class="explabelblue"><table class="treetable" width="100%" border="0" cellspacing="3" cellpadding="2" 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><tt><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></tt></td></tr></table></td></tr><tr style="vertical-align: top;"><td colspan="4" class="tabtab"><table class="treetable" id="transactionTable" width="100%" border="0" cellspacing="3" cellpadding="2" 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 class="ad-diffblock-horizontal " cellpadding="1" style="background: transparent;"><tr><td><tt><strong>hl7:act<br /></strong></tt></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 class="artdecor" cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>@classCode<br /></strong></tt></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 class="artdecor" cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>@moodCode<br /></strong></tt></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">[[File:Kred.png|14px]] 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">[[File:Kred.png|14px]] 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">[[File:Kred.png|14px]] 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 class="ad-diffblock-horizontal " cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>hl7:templateId<br /></strong></tt></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 class="artdecor" cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treeblank.png|16px]]</td><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>@root<br /></strong></tt></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 class="ad-diffblock-horizontal " cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>hl7:id<br /></strong></tt></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 class="ad-diffblock-horizontal " cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>hl7:code<br /></strong></tt></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><td style="vertical-align: top;" class="columnName"><table class="artdecor" cellpadding="1" style="background: transparent;"><tr><td style="vertical-align: top;">[[File:Treeblank.png|16px]]</td><td style="vertical-align: top;">[[File:Treetree.png|16px]]</td><td><tt><strong>@nullFlavor<br /></strong></tt></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>

Revision as of 08:52, 23 August 2018

Id2.16.840.1.113883.10.22.4.31Effective Date2017‑05‑02
Other versions this id:
    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 (2013‑12‑20)
    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 assertroleKred.png error 
     testnot(exists($reffedObject)) or $reffedObject[@moodCode=$refMoodCode] 
     MessageThe @moodCode of the reference SHALL match the @moodCode of the referenced element 
     Schematron assertroleKred.png error 
     testexists($reffedObject) 
     MessageThe root and extension attributes SHALL identify an element defined elsewhere in the same document. 
     Schematron assertroleKred.png 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