Back To Index  <<  Back To Templates

ref Template  Internal Reference

Id 1.3.6.1.4.1.19376.1.5.3.1.4.4.1
ref
(aus Repository: epsos-)
Gültigkeit gültig ab 2013‑12‑20
Status draft Draft Versions-Label
Name EntryInternalReference Anzeigename Internal Reference
Beschreibung
en-US CDA and HL7 Version 3 Entries may reference (point to) information contained in other entries within the same document or message as shown below.
Klassifikation CDA Entry Level Template
Offen/Geschlossen Offen (auch andere als die definierten Elemente sind erlaubt)
Benutzt von / Benutzt
Benutzt von 0 Transactions und 11 Templates, Benutzt 0 Templates
Benutzt von als Name Version
2.16.756.5.30.1.1.1.1.3.10.2.10.1.10.4.1 Containment draft Medication Treatment Plan Item Entry Content Module 2016‑06‑13
2.16.756.5.30.1.1.1.1.3.10.2.10.1.10.3.1 link draft eCurrentMedication Section Content Module 2016‑05‑21
2.16.756.5.30.1.1.1.1.3.10.1 link draft eCurrentMedication V1 2016‑05‑13
2.16.756.5.30.1.1.1.1.3.10.2.10.4.10.4.1 link draft Pharmaceutical Advice Item Entry Content Module 2016‑06‑25
2.16.756.5.30.1.1.1.1.3.10.2.10.4.10.3.1 link draft Pharmaceutical Advice Section Content Module 2016‑06‑06
2.16.756.5.30.1.1.1.1.3.10.4 link draft eMedicationComment V1 2016‑05‑21
2.16.756.5.30.1.127.77.4.10.7 link draft Medication Treatment Plan Section Content Module 2017‑05‑01 12:51:36
2.16.756.5.30.1.1.1.1.3.10.5 link draft eMedicationTreatmentPlan V1 2017‑04‑12 13:57:31
2.16.756.5.30.1.1.1.1.3.10.2.10.3.10.4.1 Containment draft Dispense Item Entry Content Module 2016‑06‑17
2.16.756.5.30.1.1.1.1.3.10.2.10.3.10.3.1 link draft Dispense Section Content Module 2016‑06‑06
2.16.756.5.30.1.1.1.1.3.10.3 link draft eAbgabe V1 2016‑05‑21
Beispiel
Beispiel
<act classCode="ACT" moodCode="">
  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.4.1"/>  <id root="" extension=""/>  <code code="" displayName="" codeSystem="" codeSystemName=""/></act>
Item DT Kard Konf Beschreibung Label
hl7:act
R (EntryInternalReference)
@classCode
1 … 1 F ACT
@moodCode
1 … 1 R
en-US The @moodCode of the reference SHALL match the @moodCode of the referenced element
  Variable let Name refMoodCode  
  Value @moodCode  
  Variable let Name refID  
  Value concat(hl7:id[1]/@root,'#',hl7:id[1]/@extension)  
  Variable let Name refCode  
  Value concat(hl7:code[1]/@code,'#',hl7:code[1]/@codeSystem)  
  Variable let Name reffedObject  
  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 assert role red error  
  test not(exists($reffedObject)) or $reffedObject[@moodCode=$refMoodCode]  
  Meldung The @moodCode of the reference SHALL match the @moodCode of the referenced element  
  Schematron assert role red error  
  test exists($reffedObject)  
  Meldung The root and extension attributes SHALL identify an element defined elsewhere in the same document.  
  Schematron assert role red error  
  test not(exists($reffedObject)) or ($reffedObject[not(*:code/@code)] and hl7:code[@nullFlavor='NA']) or $reffedObject/*:code[concat(@code,'#',@codeSystem)=$refCode]  
  Meldung The code of the reference SHALL match the code of the referenced element  
hl7:templateId
II 1 … 1 R
en-US The <templateId> element identifies this as an internal reference that conforms to all rules specified in this section.
(EntryInternalReference)
@root
1 … 1 F 1.3.6.1.4.1.19376.1.5.3.1.4.4.1
hl7:id
II.EPSOS 1 … 1 R
en-US This element shall be present. The root and extension attributes shall identify an element defined elsewhere in the same document.
(EntryInternalReference)
hl7:code
CD 1 … 1 R
en-US 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".
(EntryInternalReference)
@nullFlavor
0 … 1 F NA