wlmscpfs www interface not showing Scheduled Station AE title

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
anibal
Posts: 16
Joined: Fri, 2004-12-24, 05:30

wlmscpfs www interface not showing Scheduled Station AE title

#1 Post by anibal »

Hi there,

one more thing I noticed with this web tool.

It doesn't seem to show the Scheduled Station AE title (0040,0001).

I have the following wl file:

Code: Select all

[admin@rndstd1] {VNMWL} dcmdump NM05001452-NM05001452-NM05001452-20050201113000-VMI_MG-393484782.wl

# Dicom-File-Format

# Dicom-Meta-Information-Header
# Used TransferSyntax: LittleEndianExplicit
(0002,0000) UL 196                                      #   4, 1 MetaElementGroupLength
(0002,0001) OB 00\01                                    #   2, 1 FileMetaInformationVersion
(0002,0002) UI [1.2.276.0.7230010.3.1.0.1]              #  26, 1 MediaStorageSOPClassUID
(0002,0003) UI [1.2.276.0.7230010.3.1.4.514596384.22328.1107243057.1] #  52, 1 MediaStorageSOPInstanceUID
(0002,0010) UI =LittleEndianExplicit                    #  20, 1 TransferSyntaxUID
(0002,0012) UI [1.2.276.0.7230010.3.0.3.5.3]            #  28, 1 ImplementationClassUID
(0002,0013) SH [OFFIS_DCMTK_353]                        #  16, 1 ImplementationVersionName

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0050) SH [NM05001452]                             #  10, 1 AccessionNumber
(0008,0090) PN [SKINER^DOUGES]          #  30, 1 ReferringPhysiciansName
(0010,0010) PN [POOO^WINNIE^]                        #  16, 1 PatientsName
(0010,0020) LO [004000196]                              #  10, 1 PatientID
(0010,0030) DA [19350828]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [F]                                      #   2, 1 PatientsSex
(0020,000d) UI [1.2.840.114202.4.2595539826.766721602.941661818.3954936338] #  58, 1 StudyInstanceUID
(0032,1060) LO [NM Bone Scan]                           #  12, 1 RequestedProcedureDescription
(0040,0100) SQ (Sequence with explicit length #=1)      # 100, 1 ScheduledProcedureStepSequence
  (fffe,e000) na (Item with explicit length #=6)          #  92, 1 Item
    (0008,0060) CS [NM]                                     #   2, 1 Modality
    (0040,0001) AE [VMI_MG]                                 #   6, 1 ScheduledStationAETitle
    (0040,0002) DA [20050201]                               #   8, 1 ScheduledProcedureStepStartDate
    (0040,0003) TM [113000]                                 #   6, 1 ScheduledProcedureStepStartTime
    (0040,0007) LO [NM Bone Scan]                           #  12, 1 ScheduledProcedureStepDescription
    (0040,0009) SH [NM05001452]                             #  10, 1 ScheduledProcedureStepID
  (fffe,e00d) na (ItemDelimitationItem for re-encoding)   #   0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem for re-encod.) #   0, 0 SequenceDelimitationItem
(0040,1001) SH [NM05001452]                             #  10, 1 RequestedProcedureID
When I go to the web page and I look at the detail (by clicking update) on this file I get the title "Scheduled Stations:" but nothing else.

Anything I'm doing wrong with the file above?

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1446
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#2 Post by Marco Eichelberg »

The "web tool" does not actually read the DICOM files. Most information is taken from a local database maintained by the web tool itself. The web tool is intended as a way of generating worklists and updating worklists that were generated with the web tool. It is not intended for visualizing worklists (i.e., wl files) created outside the web tool.
The web tool was actually developed for a public demonstration at the CAR (Computer Assisted Radiology) 1996 congress, where DICOM worklist management was presented to the public for the first time worldwide. At that time there was no system on the market that would allow to create worklists and act as the worklist SCP, but a few companies had prototype worklist clients in their modality consoles. The combination of the "worklist CTN" as it was called then and the web tool was developed to allow demontration of these clients: Vendors could use a web browser to create a couple of worklist entries and use their own system to download the worklist entry from the remote server. The web tool was only ever intended for this limited use case.

anibal
Posts: 16
Joined: Fri, 2004-12-24, 05:30

#3 Post by anibal »

Oh, I see, I understand now why it was built.

However, just to clarify, the webtool is actually reading the .wl files. The webtool calls readwlst which hex-encodes the wl contents (only some pieces) and sends that to the browser.

Ok, I'll see what I can do to enhance the protocol between the readwlst and the web tool to pass also the Scheduled Station ID.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1446
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#4 Post by Marco Eichelberg »

If I remember correctly (and I wrote these Perl scripts in early 1996 and have hardly ever touched them since), the "readwlst" and "readoviw" tools are only used when you create/edit/delete a worklist entry (i.e. scheduled procedure step). The forms that allow you to edit patients, procedures, procedure steps and stations use their own database which is a text file named "worklist.dat" that actually contains executable Perl code that reconstructs certain arrays in memory. Call that self-modifying code 8)

anibal
Posts: 16
Joined: Fri, 2004-12-24, 05:30

#5 Post by anibal »

Ok, good, we're getting somewhere now :-)

You see, the part that you call "edit" that's what I'm interested in. That's when you call readwlst on the wl file and you show the details. At the bottom of the page you show the Scheduled Station AEs, however I don't see the one I have in my wl file, even though I can see it in the hex dump by calling readwlst. I'm trying to debug it right now. I'll let you know what I find. If you have any other insight let me know :-)

Thanks for your quick response.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Majestic-12 [Bot] and 1 guest