forward.xsl does not start

201 views
Skip to first unread message

edwin9870

unread,
Dec 16, 2013, 10:10:08 AM12/16/13
to dcm...@googlegroups.com
Hello, I need send old study to a new pacs. I created the following forward.xsl:


Path: /server/default/conf/dcm4chee-ae/forward.xsl

But dcm4chee did not start forwarding all study, and I think the syntax of file is wrong too.

Regard
forward.xsl

ChadN

unread,
Dec 16, 2013, 4:13:56 PM12/16/13
to dcm...@googlegroups.com
Edwin,

Are you just trying to push some old studies in DCM4CHEE to another PACS in a one-time storage? If so, be sure you have the AE information stored in the archive, then use the toolkit to request a move (see http://www.dcm4che.org/confluence/display/d2/dcmqr).

If you are trying to ensure that every study that get *stored* to DCM4CHEE gets forwarded to another PACS if it is older than a certain date, then use the forward.xsl tool. It will not forward studies that currently exist in the archive; only those that are stored after the forward.xsl is installed. Your forward.xsl does have some formatting issues. Try something like:

<xsl:variable name="studydate" select="normalize-space(attr[@tag='00080020'])" />
<xsl:choose>
   
<xsl:when test="$studydate>'20080101'">
     
<destination aet="NEW_PACS" />
   
</xsl:when>
 
</xsl:choose>

between your destinations tag.


fleetwoodfc

unread,
Dec 17, 2013, 7:02:59 AM12/17/13
to dcm...@googlegroups.com
dcm4chee also has the 'forwardByQuery' service to forward already stored studies - this requires SQL rather than XSL. 

edwin9870

unread,
Dec 18, 2013, 8:26:53 PM12/18/13
to
Thanks for the answer and for the tips, now its wotks.

Regards.
Reply all
Reply to author
Forward
0 new messages