Worklist query

137 views
Skip to first unread message

Steve Pillar

unread,
Jul 1, 2015, 5:33:27 AM7/1/15
to dcm...@googlegroups.com
I want to be able to send the Other Patient Id dicom tag (0010,1000) in response to a worklist query, when it is not explicitly requested in the query.

Is this possible? If so what is the best way to implement?

Thanks

Funky Koval

unread,
Jul 1, 2015, 7:12:09 AM7/1/15
to dcm...@googlegroups.com
Hi Steve,
try to coerce the query with mwl-cfinrq.xsl

 <xsl:template match="/">
    <dataset>
      <attr tag="00101000" vr="LO">
      <xsl:text></xsl:text>
      </attr>
    </dataset>
  </xsl:template>

Steve Pillar

unread,
Sep 15, 2015, 6:27:14 AM9/15/15
to dcm4che
Hi,

Its been some time but thanks for that.

I've done that, so now the dicom tag is showing in the response but without a value, that is:

<attr tag="00101000" vr="LO" pos="-1" name="Other Patient IDs" vm="0" len="0"/>

Any ideas?

Funky Koval

unread,
Sep 15, 2015, 5:14:31 PM9/15/15
to dcm4che
Hi Steve

maybe it's empty ? how do you fill this tag in orm2dcm  from hl7 message ?

Steve Pillar

unread,
Sep 16, 2015, 5:49:28 AM9/16/15
to dcm4che
Hi,

All sorted. There was an issue with the orm2dcm file. I reverted to the original file, and have the following in my mwl-cfinrq file:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <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"/-->
            <xsl:text>VOL01</xsl:text>
          </attr>
        </item>
      </attr>
      <attr tag="00101000" vr="LO">
             <xsl:value-of select="field[3]/repeat[1]/text()"/>
      </attr>
    </dataset>
  </xsl:template>
</xsl:stylesheet>

Thanks again for your help.
Reply all
Reply to author
Forward
0 new messages