Template

Show index

Template IPS Internal Reference 2017‑05‑02

Id2.16.840.1.113883.10.22.4.31Effective Date2017‑05‑02
Statuspending 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)
Used by / Uses
Used by 3 transactions and 6 templates, Uses 0 templates
Used by as NameVersion
2.16.840.1.113883.3.1937.777.15.4.6Transactiondraft Create Medication Administration2019‑02‑17
2.16.840.1.113883.3.1937.777.15.4.2Transactiondraft Create Medication Order2017‑05‑10
2.16.840.1.113883.3.1937.777.15.4.4Transactiondraft Create Medication Statement2017‑05‑10
2.16.840.1.113883.10.21.4.1Containmentdraft UV Medication Order (2023)2023‑01‑31 11:29:28
2.16.840.1.113883.10.21.4.7Containmentdraft UV Medication Statement (2023)2023‑01‑30 08:32:34
2.16.840.1.113883.10.21.4.13Containmentdraft UV Medication Administration (2023)2023‑01‑30 08:31:37
2.16.840.1.113883.10.22.4.17Containmentpending IPS Procedure Entry (STU1)2017‑03‑27
2.16.840.1.113883.10.22.4.17Containmentdraft IPS Procedure Entry (2021)2020‑07‑14 16:35:58
2.16.840.1.113883.10.22.4.38Containmentpending IPS Planned Procedure (TI-2020)2020‑05‑08 17:38:48
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
RIPSEdotsence
@classCode
cs1 … 1FACT
@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 assertrolered error 
 testnot(exists($reffedObject)) or $reffedObject[@moodCode=$refMoodCode] 
 MessageThe @moodCode of the reference SHALL match the @moodCode of the referenced element 
 Schematron assertrolered error 
 testexists($reffedObject) 
 MessageThe root and extension attributes SHALL identify an element defined elsewhere in the same document. 
 Schematron assertrolered 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 
hl7:templateId
II1 … 1MIPSEdotsence
@root
uid1 … 1F2.16.840.1.113883.10.22.4.31
hl7:id
II1 … 1RThis element shall be present. The root and extension attributes shall identify an element defined elsewhere in the same document.IPSEdotsence
hl7: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".IPSEdotsence
@nullFlavor
cs0 … 1FNA