DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Mon, 2018-08-20, 23:47

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: WLMSCPFS write a Logfile
PostPosted: Thu, 2017-11-30, 08:58 
Offline

Joined: Tue, 2012-10-02, 15:22
Posts: 6
Hi,

i set up a wlmscpfs worklist management system. it works really fine, since 2013. now i have trouble with 2 siemens modalities, one ct and one mrt. i'm sure the worklist works perfect(the other 5 modalities works fine), i can test it via findscu and the aet's of the both new modailties(there are matches)

the command i tested with:
D:\Projekte\DICOM\findscu>findscu -v -d -W -aet CTSTE -aec AE_RIS 192.168.50.46 104 -k ScheduledProcedureStepSequence[0].ScheduledStationAETitle=CTSTE -k 0010,0010=* > log.txt

the output:

D: $dcmtk: findscu v3.6.0 2011-01-06 $
D:
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.0
D: Our Implementation Version Name: OFFIS_DCMTK_360
D: Their Implementation Class UID:
D: Their Implementation Version Name:
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: CTSTE
D: Called Application Name: AE_RIS
D: Responding Application Name: resp. AP Title
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 0
D: Presentation Contexts:
D: Context ID: 1 (Proposed)
D: Abstract Syntax: =FINDModalityWorklistInformationModel
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianExplicit
D: =BigEndianExplicit
D: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-RQ ======================
I: Requesting Association
D: Constructing Associate RQ PDU
D: PDU Type: Associate Accept, PDU Length: 186 + 6 bytes PDU header
D: 02 00 00 00 00 ba 00 01 00 00 41 45 5f 52 49 53
D: 20 20 20 20 20 20 20 20 20 20 43 54 53 54 45 20
D: 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 10 00 00 15 31 2e
D: 32 2e 38 34 30 2e 31 30 30 30 38 2e 33 2e 31 2e
D: 31 2e 31 21 00 00 1b 01 00 00 00 40 00 00 13 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
D: 2e 31 50 00 00 3a 51 00 00 04 00 00 40 00 52 00
D: 00 1b 31 2e 32 2e 32 37 36 2e 30 2e 37 32 33 30
D: 30 31 30 2e 33 2e 30 2e 33 2e 36 2e 30 55 00 00
D: 0f 4f 46 46 49 53 5f 44 43 4d 54 4b 5f 33 36 30
D:
D: Parsing an A-ASSOCIATE PDU
D: Association Parameters Negotiated:
D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.0
D: Our Implementation Version Name: OFFIS_DCMTK_360
D: Their Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.0
D: Their Implementation Version Name: OFFIS_DCMTK_360
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: CTSTE
D: Called Application Name: AE_RIS
D: Responding Application Name: AE_RIS
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 16384
D: Presentation Contexts:
D: Context ID: 1 (Accepted)
D: Abstract Syntax: =FINDModalityWorklistInformationModel
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =LittleEndianExplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-AC ======================
I: Association Accepted (Max Send PDV: 16372)
I: ===================== OUTGOING DIMSE MESSAGE ====================
I: Message Type : C-FIND RQ
I: Presentation Context ID : 1
I: Message ID : 1
I: Affected SOP Class UID : FINDModalityWorklistInformationModel
I: Data Set : present
I: Priority : low
I: ======================= END DIMSE MESSAGE =======================
I: Find SCU Request Identifiers:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Unknown Transfer Syntax
I: (0010,0010) PN [*] # 2, 1 PatientName
I: (0040,0100) SQ (Sequence with explicit length #=1) # 0, 1 ScheduledProcedureStepSequence
I: (fffe,e000) na (Item with explicit length #=1) # 0, 1 Item
I: (0040,0001) AE [CTSTE] # 6, 1 ScheduledStationAETitle
I: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
I: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
I:
W: ---------------------------
W: Find Response: 1 (Pending)
W:
W: # Dicom-Data-Set
W: # Used TransferSyntax: Little Endian Explicit
W: (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet
W: (0010,0010) PN [Feuerstein^Dr. med. Fred von] # 28, 1 PatientName
W: (0040,0100) SQ (Sequence with explicit length #=1) # 22, 1 ScheduledProcedureStepSequence
W: (fffe,e000) na (Item with explicit length #=1) # 14, 1 Item
W: (0040,0001) AE [CTSTE ] # 6, 1 ScheduledStationAETitle
W: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
W: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
W:
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-FIND RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : FINDModalityWorklistInformationModel
I: Data Set : none
I: DIMSE Status : 0x0000: Success
I: ======================= END DIMSE MESSAGE =======================
I: Releasing Association


how can i display the log of the wlmscpfs process?

the wlmscpfs process:

C:\DICOM\WLMSCPFS>wlmscpfs_CTSTE -cs1 -dfp c:\dicom\dat 104 -dhl --no-fail -dfr
-ll trace

i want to display the logging in the commandline, or in a file

thank you very much,
Christian


Top
 Profile  
 
PostPosted: Thu, 2017-11-30, 10:45 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1685
Location: Oldenburg, Germany
Hi Christian,

for wlmscpfs the same options for logging can be used as in other tools, e.g. -d as for findscu, or setting a specific log level using -ll as you do in your call.

That being said, your wlmscpfs command line call should display output on the command line, even on TRACE level which is the most detailed level available.

Can you run echoscu (locally or even from the modality machines) against the server in order to find out whether it is actually listening?

Best,
Michael


Top
 Profile  
 
PostPosted: Tue, 2017-12-05, 09:56 
Offline

Joined: Tue, 2012-10-02, 15:22
Posts: 6
Hi Michael,

thanks for answering. what i mean is a wlmscpfs log like this... I had it years ago, but actually i dont remember the switch, that i could see such log information, if a modality is querying the worklist... However, the problem is solved first of all... Siemens had to change from 'MR' and 'CT' in their patient registration to 'ALL', now the wl query works fine... but is there a possibility, that the wl does listen to 'CT' or 'MR' queries??

Christian


$dcmtk: wlmscpfs v3.5.2 2002-12-23 $


(notice: dcmdata auto correction disabled.)

Association Received (192.168.50.10:MR_STORE_EXP -> AE_RIS)

Association Acknowledged (Max Send PDV: 32756)

Received C-FIND Request, MessageID 13.

Find SCP Request Identifiers:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0050) SH (no value available) # 0, 0 AccessionNumber
(0008,0090) PN (no value available) # 0, 0 ReferringPhysiciansName
(0008,1110) SQ (Sequence undefined length #=1) # u/l, 1 ReferencedStudySequence
(fffe,e000) na (Item with undefined length #=2) # u/l, 1 Item
(0008,1150) UI (no value available) # 0, 0 ReferencedSOPClassUID
(0008,1155) UI (no value available) # 0, 0 ReferencedSOPInstanceUID
(fffe,e00d) na (ItemDelimitationItem) # 0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem
(0010,0010) PN (no value available) # 0, 0 PatientsName
(0010,0020) LO (no value available) # 0, 0 PatientID
(0010,0030) DA (no value available) # 0, 0 PatientsBirthDate
(0010,0040) CS (no value available) # 0, 0 PatientsSex
(0010,1000) LO (no value available) # 0, 0 OtherPatientIDs
(0010,1030) DS (no value available) # 0, 0 PatientsWeight
(0010,2000) LO (no value available) # 0, 0 MedicalAlerts
(0010,2110) LO (no value available) # 0, 0 ContrastAllergies
(0010,2160) SH (no value available) # 0, 0 EthnicGroup
(0010,21b0) LT (no value available) # 0, 0 AdditionalPatientHistory
(0010,21c0) US (no value available) # 0, 0 PregnancyStatus
(0010,4000) LT (no value available) # 0, 0 PatientComments
(0020,000d) UI (no value available) # 0, 0 StudyInstanceUID
(0032,1032) PN (no value available) # 0, 0 RequestingPhysician
(0032,1033) LO (no value available) # 0, 0 RequestingService
(0032,1060) LO (no value available) # 0, 0 RequestedProcedureDescription
(0032,1064) SQ (Sequence undefined length #=1) # u/l, 1 RequestedProcedureCodeSequence
(fffe,e000) na (Item with undefined length #=4) # u/l, 1 Item
(0008,0100) SH (no value available) # 0, 0 CodeValue
(0008,0102) SH (no value available) # 0, 0 CodingSchemeDesignator
(0008,0103) SH (no value available) # 0, 0 CodingSchemeVersion
(0008,0104) LO (no value available) # 0, 0 CodeMeaning
(fffe,e00d) na (ItemDelimitationItem) # 0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem
(0038,0300) LO (no value available) # 0, 0 CurrentPatientLocation
(0040,0100) SQ (Sequence undefined length #=1) # u/l, 1 ScheduledProcedureStepSequence
(fffe,e000) na (Item with undefined length #=16) # u/l, 1 Item
(0008,0060) CS (no value available) # 0, 0 Modality
(0032,1070) LO (no value available) # 0, 0 RequestedContrastAgent
(0040,0001) AE [MR_STORE_EXP] # 12, 1 ScheduledStationAETitle
(0040,0002) DA [20120810-20120811 ] # 18, 1 ScheduledProcedureStepStartDate
(0040,0003) TM (no value available) # 0, 0 ScheduledProcedureStepStartTime
(0040,0004) DA (no value available) # 0, 0 ScheduledProcedureStepEndDate
(0040,0005) TM (no value available) # 0, 0 ScheduledProcedureStepEndTime
(0040,0006) PN (no value available) # 0, 0 ScheduledPerformingPhysiciansName
(0040,0007) LO (no value available) # 0, 0 ScheduledProcedureStepDescription
(0040,0008) SQ (Sequence undefined length #=1) # u/l, 1 ScheduledProtocolCodeSequence
(fffe,e000) na (Item with undefined length #=4) # u/l, 1 Item
(0008,0100) SH (no value available) # 0, 0 CodeValue
(0008,0102) SH (no value available) # 0, 0 CodingSchemeDesignator
(0008,0103) SH (no value available) # 0, 0 CodingSchemeVersion
(0008,0104) LO (no value available) # 0, 0 CodeMeaning
(fffe,e00d) na (ItemDelimitationItem) # 0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem
(0040,0009) SH (no value available) # 0, 0 ScheduledProcedureStepID
(0040,0010) SH (no value available) # 0, 0 ScheduledStationName
(0040,0011) SH (no value available) # 0, 0 ScheduledProcedureStepLocation
(0040,0012) LO (no value available) # 0, 0 PreMedication
(0040,0020) CS (no value available) # 0, 0 ScheduledProcedureStepStatus
(0040,0400) LT (no value available) # 0, 0 CommentsOnTheScheduledProcedureStep
(fffe,e00d) na (ItemDelimitationItem) # 0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem
(0040,1001) SH (no value available) # 0, 0 RequestedProcedureID
(0040,1010) PN (no value available) # 0, 0 NamesOfIntendedRecipientsOfResults
(0040,1400) LT (no value available) # 0, 0 RequestedProcedureComments
(0040,2400) LT (no value available) # 0, 0 ImagingServiceRequestComments
=============================
Checking the search mask.
- Unsupported (non-sequence) attribute encountered in the search mask.
This attribute will not be existent in any result dataset.
- Unsupported (sequence) attribute encountered in the search mask.
This attribute will not be existent in any result dataset.
- Unsupported (non-sequence) attribute encountered in the search mask.
This attribute will not be existent in any result dataset.
- Unsupported (non-sequence) attribute encountered in the search mask.
This attribute will not be existent in any result dataset.
- Unsupported (sequence) attribute encountered in the search mask.
This attribute will not be existent in any result dataset.
- Unsupported (non-sequence) attribute encountered in the search mask.
This attribute will not be existent in any result dataset.
- Unsupported (non-sequence) attribute encountered in the search mask.
This attribute will not be existent in any result dataset.
- Unsupported (non-sequence) attribute encountered in the search mask.
This attribute will not be existent in any result dataset.
Expanded Find SCP Request Identifiers:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0050) SH (no value available) # 0, 0 AccessionNumber
(0008,0090) PN (no value available) # 0, 0 ReferringPhysiciansName
(0008,1110) SQ (Sequence undefined length #=1) # u/l, 1 ReferencedStudySequence
(fffe,e000) na (Item with undefined length #=2) # u/l, 1 Item
(0008,1150) UI (no value available) # 0, 0 ReferencedSOPClassUID
(0008,1155) UI (no value available) # 0, 0 ReferencedSOPInstanceUID
(fffe,e00d) na (ItemDelimitationItem) # 0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem
(0010,0010) PN (no value available) # 0, 0 PatientsName
(0010,0020) LO (no value available) # 0, 0 PatientID
(0010,0030) DA (no value available) # 0, 0 PatientsBirthDate
(0010,0040) CS (no value available) # 0, 0 PatientsSex
(0010,1000) LO (no value available) # 0, 0 OtherPatientIDs
(0010,1030) DS (no value available) # 0, 0 PatientsWeight
(0010,2000) LO (no value available) # 0, 0 MedicalAlerts
(0010,2110) LO (no value available) # 0, 0 ContrastAllergies
(0010,2160) SH (no value available) # 0, 0 EthnicGroup
(0010,21b0) LT (no value available) # 0, 0 AdditionalPatientHistory
(0010,21c0) US (no value available) # 0, 0 PregnancyStatus
(0010,4000) LT (no value available) # 0, 0 PatientComments
(0020,000d) UI (no value available) # 0, 0 StudyInstanceUID
(0032,1032) PN (no value available) # 0, 0 RequestingPhysician
(0032,1060) LO (no value available) # 0, 0 RequestedProcedureDescription
(0038,0300) LO (no value available) # 0, 0 CurrentPatientLocation
(0040,0100) SQ (Sequence undefined length #=1) # u/l, 1 ScheduledProcedureStepSequence
(fffe,e000) na (Item with undefined length #=12) # u/l, 1 Item
(0008,0060) CS (no value available) # 0, 0 Modality
(0032,1070) LO (no value available) # 0, 0 RequestedContrastAgent
(0040,0001) AE [MR_STORE_EXP] # 12, 1 ScheduledStationAETitle
(0040,0002) DA [20120810-20120811 ] # 18, 1 ScheduledProcedureStepStartDate
(0040,0003) TM (no value available) # 0, 0 ScheduledProcedureStepStartTime
(0040,0006) PN (no value available) # 0, 0 ScheduledPerformingPhysiciansName
(0040,0007) LO (no value available) # 0, 0 ScheduledProcedureStepDescription
(0040,0009) SH (no value available) # 0, 0 ScheduledProcedureStepID
(0040,0010) SH (no value available) # 0, 0 ScheduledStationName
(0040,0011) SH (no value available) # 0, 0 ScheduledProcedureStepLocation
(0040,0012) LO (no value available) # 0, 0 PreMedication
(0040,0400) LT (no value available) # 0, 0 CommentsOnTheScheduledProcedureStep
(fffe,e00d) na (ItemDelimitationItem) # 0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem
(0040,1001) SH (no value available) # 0, 0 RequestedProcedureID
(0040,1010) PN (no value available) # 0, 0 NamesOfIntendedRecipientsOfResults
=============================
WlmDataSourceFileSystem::SetReadlock : Cannot open file c:\dicom\wl-data\AE_RIS\lockfile (return code: No such file or directory).
Determining matching records from worklist files.
=============================
Worklist Database Files:
c:\dicom\wl-data\AE_RIS\131764.wl
c:\dicom\wl-data\AE_RIS\131765.wl
c:\dicom\wl-data\AE_RIS\131766.wl
c:\dicom\wl-data\AE_RIS\131767.wl
c:\dicom\wl-data\AE_RIS\131768.wl
c:\dicom\wl-data\AE_RIS\131769.wl
c:\dicom\wl-data\AE_RIS\131770.wl
c:\dicom\wl-data\AE_RIS\131771.wl
c:\dicom\wl-data\AE_RIS\131772.wl
c:\dicom\wl-data\AE_RIS\131773.wl
c:\dicom\wl-data\AE_RIS\131774.wl
c:\dicom\wl-data\AE_RIS\131775.wl
c:\dicom\wl-data\AE_RIS\131776.wl
c:\dicom\wl-data\AE_RIS\131777.wl
c:\dicom\wl-data\AE_RIS\131778.wl
c:\dicom\wl-data\AE_RIS\131779.wl
c:\dicom\wl-data\AE_RIS\131780.wl
c:\dicom\wl-data\AE_RIS\131781.wl
c:\dicom\wl-data\AE_RIS\131782.wl
c:\dicom\wl-data\AE_RIS\131783.wl
c:\dicom\wl-data\AE_RIS\131784.wl
c:\dicom\wl-data\AE_RIS\131785.wl
c:\dicom\wl-data\AE_RIS\131787.wl
=============================
Information from worklist file c:\dicom\wl-data\AE_RIS\131764.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131765.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131766.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131767.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131768.wl does not match query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131769.wl does not match query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131770.wl does not match query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131771.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131772.wl does not match query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131773.wl does not match query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131774.wl does not match query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131775.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131776.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131777.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131778.wl does not match query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131779.wl does not match query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131780.wl does not match query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131781.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131782.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131783.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131784.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131785.wl matches query.
Information from worklist file c:\dicom\wl-data\AE_RIS\131787.wl does not match query.
Matching results: 13 matching records found in worklist files.


Top
 Profile  
 
PostPosted: Tue, 2017-12-05, 18:39 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1685
Location: Oldenburg, Germany
Hi,

the log you are posting looks like the log when the -d switch is enabled (or maybe -v is sufficient). Though meanwhile the logging lines are prefixed with the log level they are printed on, e.g. for a DEBUG level log line you get something like "D: Association Received (192.168.50.10:MR_STORE_EXP -> AE_RIS)". Also, the worklist server has been partly re-factored and enhanced in a few aspects, so some lines might look a bit different, miss, or are added compared to the old version.

In order to make a worklist job match a request for MR modalities, simply set the "Modality" flag in the worklist job to "MR" or whatever you like to match.

Best,
Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group