Forward Series by Referring Physicians Name with Wildcard

153 views
Skip to first unread message

Björn Albers

unread,
Nov 28, 2013, 6:33:12 AM11/28/13
to dcm...@googlegroups.com
Hey,

I want to forward series based on the Referring Physicians Name to another PACS.
All names include the hospital "Evangelisches Krankenhause" as well.
(How) is it possible to catch all those with a single wildcard / regex / whatever?

  <xsl:template match="/dataset">
   
<destinations>


     
<!-- Forward Series with specific Referring Physician (0008,0090) EVK -->


     
<xsl:if test="attr[@tag='00080090']='Evangelisches Krankenhaus^Ebene 1, STROKE-Unit'">
       
<destination aet="EVK-DCM4CHEE" priority="high"/>
     
</xsl:if>


     
<xsl:if test="attr[@tag='00080090']='Evangelisches Krankenhaus^Ebene 2, Chirurgie'">
       
<destination aet="EVK-DCM4CHEE" priority="high"/>
     
</xsl:if>


     
<xsl:if test="attr[@tag='00080090']='Evangelisches Krankenhaus^Ebene 4, Innere +(Ausweichebene 1, 2 '">
       
<destination aet="EVK-DCM4CHEE" priority="high"/>
     
</xsl:if>


   
</destinations>
 
</xsl:template>


Adding rules for each division seems rather fragile to me.


Thanks,
Björn

fleetwoodfc

unread,
Nov 28, 2013, 7:37:39 AM11/28/13
to dcm...@googlegroups.com
<xsl:if test="starts-with(attr[@tag='00080090'],'Evangelisches Krankenhaus')">

        
<destination aet="EVK-DCM4CHEE" priority="high"/>
</xsl:if>


Björn Albers

unread,
Nov 28, 2013, 8:08:50 AM11/28/13
to
This works! Thanks a lot :-)

Angel Lacret

unread,
Aug 8, 2014, 10:46:04 AM8/8/14
to dcm...@googlegroups.com
It is possible to worward only information about what was push?, i want to implement some sort of study listener
Reply all
Reply to author
Forward
0 new messages