<?xml version="1.0" encoding="UTF-8"?>
<xsl:output method="xml" indent="no"/>
<!-- overwritten by application with actual values -->
<xsl:param name="calling" select="'SAMPLE_MOD'"/>
<xsl:param name="called" select="'DCM4CHEE'"/>
<xsl:param name="date" select="'20051206'"/>
<xsl:param name="time" select="'115600.000'"/>
<xsl:template match="/">
<dataset>
<!-- Scheduled Procedure Step Sequence -->
<attr tag="00400100" vr="SQ">
<item>
<!-- Scheduled Procedure Step Sequence -->
<attr tag="00400001" vr="AE">
<xsl:value-of select="$calling"/>
</attr>
<!-- Scheduled Procedure Step Start Date -->
<attr tag="00400002" vr="DA">
<xsl:value-of select="$date"/>
</attr>
<!-- Scheduled Procedure Step Status -->
<attr tag="00400020" vr="CS">
<xsl:text>ARRIVED\READY</xsl:text>
</attr>
</item>
</attr>
<!-- Issuer of Patient ID -->
<attr tag="00100021" vr="LO">
<xsl:text>DPSC</xsl:text>
</attr>
</dataset>
</xsl:template>
</xsl:stylesheet>
<!-- In order to get the SQL commands -->
<category name="org.jboss.ejb.plugins.cmp.jdbc">
<priority value="DEBUG"/>
</category>
Can any one help me identify the issue? Is there a better way to filter MWL items based on facility, department, AE Groups or institution. Any pointers will surely help me, I could;t find any post relevant to fix/get it working. I've been banging my head against the wall for the past 12 hours trying to get this worked out. Does anyone have any suggestions?