2.16.840.1.113883.10.22.4.31/static-2017-05-02T000000

From HL7 IPS
Revision as of 21:09, 27 July 2017 by ADbot (talk | contribs) (Automated ADBot page content)
Jump to: navigation, search
Id2.16.840.1.113883.10.22.4.31Effective Date valid from 2017‑05‑02
StatusKyellow.png DraftVersion Label
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)
Used by / Uses
Used by 0 transactions and 3 templates, Uses 0 templates
Used by as NameVersion
2.16.840.1.113883.10.22.4.17ContainmentKyellow.png IPS Procedure Entry2017‑03‑27
2.16.840.1.113883.10.22.3.4Link.pngKyellow.png IPS History of Procedures Section2017‑03‑27
2.16.840.1.113883.10.22.1.1Link.pngKyellow.png International Patient Summary2017‑04‑11
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