QUESTION :: XSL forward.xsl :: Condition to forward only 10 digit patient IDs

50 views
Skip to first unread message

Michael Fanariotis

unread,
May 7, 2013, 3:48:18 PM5/7/13
to
Dear Group,
I would like to forward exams from DCM4CHEE PACS to WORKSTATION1 with only 10 digit patient ID (examples that should match: 4583720493, 0294850395, examples that should not match: CT3547564, PACS-3456346)
I think the if case should be something like this:
......
<xsl:if test="attr[@tag='00100020']='\d\d\d\d\d\d\d\d\d\d'">
    <destination aet="WORKSTATION1" priority="high"/>
</xsl:if>
......
I have tried the above syntax and it does not work.
Any suggestions?
Thank you!
Michael Fanariotis

Reply all
Reply to author
Forward
0 new messages