OFFIS - SDK - C-Find Problem - DICOM
This is a discussion on OFFIS - SDK - C-Find Problem - DICOM ; Hi,
I am using the offis-SDK wlmscpfs.exe program as an SCP server, but I
have the following problem :
When I try to do a search by birth date, it always responds with the
complete Data Base!
What can I ...
-
OFFIS - SDK - C-Find Problem
Hi,
I am using the offis-SDK wlmscpfs.exe program as an SCP server, but I
have the following problem :
When I try to do a search by birth date, it always responds with the
complete Data Base!
What can I be doing wrong?
Thank you,
Andre M. Descombes
-
Re: OFFIS - SDK - C-Find Problem
Andre,
- please tell us which version of wlmscpfs you are using,
- please describe in detail the query you are sending to wlmscpfs,
- please describe in detail the results you are getting from wlmscpfs.
Running wlmscpfs in verbose mode (--verbose) and copying the output into
an email would probably be sufficient to solve the problem.
Please also note that there is a discussion forum about OFFIS DCMTK
which can be used for questions like this: http://forum.dcmtk.org/.
We would be happy to help you with your problem.
Best regards,
Thomas Wilkens
OFFIS
-
Re: OFFIS - SDK - C-Find Problem
Thank you Thomas,
I will post my question with all the information in the forum.
Regards,
Andre M. Descombes
"Thomas Wilkens" wrote in message
news:dgli9i$dcu@news.Informatik.Uni-Oldenburg.DE...
>
> Andre,
>
> - please tell us which version of wlmscpfs you are using,
> - please describe in detail the query you are sending to wlmscpfs,
> - please describe in detail the results you are getting from wlmscpfs.
>
> Running wlmscpfs in verbose mode (--verbose) and copying the output into
> an email would probably be sufficient to solve the problem.
>
> Please also note that there is a discussion forum about OFFIS DCMTK which
> can be used for questions like this: http://forum.dcmtk.org/.
>
> We would be happy to help you with your problem.
>
> Best regards,
> Thomas Wilkens
> OFFIS
>
-
Re: OFFIS - SDK - C-Find Problem
Hi Thomas,
I am using wlmscpfs v3.5.3 2004-05-2
Here is exactly a capture of the query I am sending and the answer I am
receiving :
The problem is I am getting answers with birth dates that have nothing
to do with what I asked. Can you tell me what I'm doing wrong?
Thanks,
Andre M. Descombes
E:\Program Files\MediPlus\Fast Worklist\1.0>wlmscpfs -v -dfp mediplusdb 1234
$dcmtk: wlmscpfs v3.5.3 2004-05-27 $
(notice: dcmdata auto correction disabled.)
Association Received (TIMS:TIMS -> MEDIPLUS)
Association Acknowledged (Max Send PDV: 16372)
Received C-FIND Request, MessageID 4.
Find SCP Request Identifiers:
# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 134 # 4, 1
IdentifyingGroupLength
(0008,0005) CS (no value available) # 0, 0
SpecificCharacterSet
(0008,0012) DA (no value available) # 0, 0
InstanceCreationDate
(0008,0013) TM (no value available) # 0, 0
InstanceCreationTime
(0008,0014) UI (no value available) # 0, 0
InstanceCreatorUID
(0008,0016) UI =FINDModalityWorklistInformationModel # 22, 1 SOPClassUID
(0008,0018) UI (no value available) # 0, 0
SOPInstanceUID
(0008,0050) SH (no value available) # 0, 0
AccessionNumber
(0008,0080) LO (no value available) # 0, 0
InstitutionName
(0008,0081) ST (no value available) # 0, 0
InstitutionAddress
(0008,0090) PN (no value available) # 0, 0
ReferringPhysiciansName
(0008,0092) ST (no value available) # 0, 0
ReferringPhysiciansAddress
(0008,0094) SH (no value available) # 0, 0
ReferringPhysiciansTelephoneNumbers
(0008,1030) LO (no value available) # 0, 0
StudyDescription
(0008,1080) LO (no value available) # 0, 0
AdmittingDiagnosesDescription
(0010,0000) UL 202 # 4, 1
PatientGroupLength
(0010,0010) PN [* ] # 2, 1
PatientsName
(0010,0020) LO (no value available) # 0, 0 PatientID
(0010,0021) LO (no value available) # 0, 0
IssuerOfPatientID
(0010,0030) DA [19630201] # 8, 1
PatientsBirthDate
(0010,0032) TM (no value available) # 0, 0
PatientsBirthTime
(0010,0040) CS (no value available) # 0, 0 PatientsSex
(0010,1000) LO (no value available) # 0, 0
OtherPatientIDs
(0010,1001) PN (no value available) # 0, 0
OtherPatientNames
(0010,1005) PN (no value available) # 0, 0
PatientsBirthName
(0010,1010) AS (no value available) # 0, 0 PatientsAge
(0010,1020) DS (no value available) # 0, 0
PatientsSize
(0010,1030) DS (no value available) # 0, 0
PatientsWeight
(0010,1040) LO (no value available) # 0, 0
PatientsAddress
(0010,1060) PN (no value available) # 0, 0
PatientsMothersBirthName
(0010,1080) LO (no value available) # 0, 0
MilitaryRank
(0010,1081) LO (no value available) # 0, 0
BranchOfService
(0010,1090) LO (no value available) # 0, 0
MedicalRecordLocator
(0010,2150) LO (no value available) # 0, 0
CountryOfResidence
(0010,2152) LO (no value available) # 0, 0
RegionOfResidence
(0010,2154) SH (no value available) # 0, 0
PatientsTelephoneNumbers
(0010,2160) SH (no value available) # 0, 0 EthnicGroup
(0010,2180) SH (no value available) # 0, 0 Occupation
(0010,21f0) LO (no value available) # 0, 0
PatientsReligiousPreference
(0010,4000) LT (no value available) # 0, 0
PatientComments
(0020,0000) UL 16 # 4, 1
ImageGroupLength
(0020,000d) UI (no value available) # 0, 0
StudyInstanceUID
(0020,0013) IS (no value available) # 0, 0
InstanceNumber
(0032,0000) UL 24 # 4, 1
StudyGroupLength
(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
(0038,0000) UL 72 # 4, 1
VisitGroupLength
(0038,0008) CS (no value available) # 0, 0
VisitStatusID
(0038,0010) LO (no value available) # 0, 0 AdmissionID
(0038,0011) LO (no value available) # 0, 0
IssuerOfAdmissionID
(0038,0016) LO (no value available) # 0, 0
RouteOfAdmissions
(0038,0020) DA (no value available) # 0, 0
AdmittingDate
(0038,0021) TM (no value available) # 0, 0
AdmittingTime
(0038,0300) LO (no value available) # 0, 0
CurrentPatientLocation
(0038,0400) LO (no value available) # 0, 0
PatientsInstitutionResidence
(0038,4000) LT (no value available) # 0, 0
VisitComments
(0040,0000) UL 350 # 4, 1
ModalityWorklistGroupLength
(0040,0100) SQ (Sequence with undefined length #=1) # u/l, 1
ScheduledProcedureStepSequence
(fffe,e000) na (Item with undefined length #=18) # u/l, 1 Item
(0008,0000) UL 10 # 4, 1
IdentifyingGroupLength
(0008,0060) CS [XA] # 2, 1
Modality
(0032,0000) UL 8 # 4, 1
StudyGroupLength
(0032,1070) LO (no value available) # 0, 0
RequestedContrastAgent
(0040,0000) UL 112 # 4, 1
ModalityWorklistGroupLength
(0040,0001) AE (no value available) # 0, 0
ScheduledStationAETitle
(0040,0002) DA [20050912] # 8, 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,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,1002) LO (no value available) # 0, 0
ReasonForTheRequestedProcedure
(0040,1003) SH (no value available) # 0, 0
RequestedProcedurePriority
(0040,1004) LO (no value available) # 0, 0
PatientTransportArrangements
(0040,1005) LO (no value available) # 0, 0
RequestedProcedureLocation
(0040,1008) LO (no value available) # 0, 0
ConfidentialityCode
(0040,1009) SH (no value available) # 0, 0
ReportingPriority
(0040,1010) PN (no value available) # 0, 0
NamesOfIntendedRecipientsOfResults
(0040,1400) LT (no value available) # 0, 0
RequestedProcedureComments
(0040,2001) LO (no value available) # 0, 0
RETIRED_ReasonForTheImagingServiceRequest
(0040,2004) DA (no value available) # 0, 0
IssueDateOfImagingServiceRequest
(0040,2005) TM (no value available) # 0, 0
IssueTimeOfImagingServiceRequest
(0040,2008) PN (no value available) # 0, 0
OrderEnteredBy
(0040,2009) SH (no value available) # 0, 0
OrderEnterersLocation
(0040,2010) SH (no value available) # 0, 0
OrderCallbackPhoneNumber
(0040,2016) LO (no value available) # 0, 0
PlacerOrderNumberImagingServiceRequest
(0040,2017) LO (no value available) # 0, 0
FillerOrderNumberImagingServiceRequest
(0040,2400) LT (no value available) # 0, 0
ImagingServiceRequestComments
(0040,3001) LO (no value available) # 0, 0
ConfidentialityConstraintOnPatientDataDescription
(0100,0000) UL 32 # 4, 1
GenericGroupLength
(0100,0410) CS (no value available) # 0, 0
SOPInstanceStatus
(0100,0420) DT (no value available) # 0, 0
SOPAuthorizationDateAndTime
(0100,0424) LT (no value available) # 0, 0
SOPAuthorizationComment
(0100,0426) LO (no value available) # 0, 0
AuthorizationEquipmentCertificationNumber
=============================
Checking the search mask.
- 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.
- 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.
- 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.
- Non-empty return key attribute encountered in the search mask.
The specified value will be overridden.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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: LittleEndianImplicit
(0008,0005) CS (no value available) # 0, 0
SpecificCharacterSet
(0008,0050) SH (no value available) # 0, 0
AccessionNumber
(0008,0080) LO (no value available) # 0, 0
InstitutionName
(0008,0081) ST (no value available) # 0, 0
InstitutionAddress
(0008,0090) PN (no value available) # 0, 0
ReferringPhysiciansName
(0008,1080) LO (no value available) # 0, 0
AdmittingDiagnosesDescription
(0010,0010) PN [* ] # 2, 1
PatientsName
(0010,0020) LO (no value available) # 0, 0 PatientID
(0010,0030) DA [19630201] # 8, 1
PatientsBirthDate
(0010,0040) CS (no value available) # 0, 0 PatientsSex
(0010,1000) LO (no value available) # 0, 0
OtherPatientIDs
(0010,1001) PN (no value available) # 0, 0
OtherPatientNames
(0010,1020) DS (no value available) # 0, 0
PatientsSize
(0010,1030) DS (no value available) # 0, 0
PatientsWeight
(0010,1040) LO (no value available) # 0, 0
PatientsAddress
(0010,1080) LO (no value available) # 0, 0
MilitaryRank
(0010,2160) SH (no value available) # 0, 0 EthnicGroup
(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
(0038,0010) LO (no value available) # 0, 0 AdmissionID
(0038,0011) LO (no value available) # 0, 0
IssuerOfAdmissionID
(0038,0300) LO (no value available) # 0, 0
CurrentPatientLocation
(0040,0100) SQ (Sequence with undefined length #=1) # u/l, 1
ScheduledProcedureStepSequence
(fffe,e000) na (Item with undefined length #=15) # u/l, 1 Item
(0008,0060) CS [XA] # 2, 1
Modality
(0032,1070) LO (no value available) # 0, 0
RequestedContrastAgent
(0040,0001) AE (no value available) # 0, 0
ScheduledStationAETitle
(0040,0002) DA [20050912] # 8, 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,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,1002) LO (no value available) # 0, 0
ReasonForTheRequestedProcedure
(0040,1003) SH (no value available) # 0, 0
RequestedProcedurePriority
(0040,1004) LO (no value available) # 0, 0
PatientTransportArrangements
(0040,1005) LO (no value available) # 0, 0
RequestedProcedureLocation
(0040,1008) LO (no value available) # 0, 0
ConfidentialityCode
(0040,1009) SH (no value available) # 0, 0
ReportingPriority
(0040,1010) PN (no value available) # 0, 0
NamesOfIntendedRecipientsOfResults
(0040,1400) LT (no value available) # 0, 0
RequestedProcedureComments
(0040,2001) LO (no value available) # 0, 0
RETIRED_ReasonForTheImagingServiceRequest
(0040,2004) DA (no value available) # 0, 0
IssueDateOfImagingServiceRequest
(0040,2005) TM (no value available) # 0, 0
IssueTimeOfImagingServiceRequest
(0040,2008) PN (no value available) # 0, 0
OrderEnteredBy
(0040,2009) SH (no value available) # 0, 0
OrderEnterersLocation
(0040,2010) SH (no value available) # 0, 0
OrderCallbackPhoneNumber
(0040,2016) LO (no value available) # 0, 0
PlacerOrderNumberImagingServiceRequest
(0040,2017) LO (no value available) # 0, 0
FillerOrderNumberImagingServiceRequest
(0040,2400) LT (no value available) # 0, 0
ImagingServiceRequestComments
(0040,3001) LO (no value available) # 0, 0
ConfidentialityConstraintOnPatientDataDescription
=============================
Determining matching records from worklist files.
=============================
Worklist Database Files:
mediplusdb\MEDIPLUS\mp1.wl
mediplusdb\MEDIPLUS\mp2.wl
mediplusdb\MEDIPLUS\mp3.wl
mediplusdb\MEDIPLUS\mp4.wl
mediplusdb\MEDIPLUS\mp5.wl
=============================
Information from worklist file mediplusdb\MEDIPLUS\mp1.wl matches query.
Information from worklist file mediplusdb\MEDIPLUS\mp2.wl matches query.
Information from worklist file mediplusdb\MEDIPLUS\mp3.wl matches query.
Information from worklist file mediplusdb\MEDIPLUS\mp4.wl matches query.
Information from worklist file mediplusdb\MEDIPLUS\mp5.wl matches query.
Matching results: 5 matching records found in worklist files.
Processing matching result no. 0.
Processing matching result no. 1.
Processing matching result no. 2.
Processing matching result no. 3.
Processing matching result no. 4.
=============================
Worklist Find SCP Response 1 [status: Pending:
WarningUnsupportedOptionalKeys]
Response Identifiers (1)
# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0050) SH [00005 ] # 6, 1
AccessionNumber
(0008,0080) LO (no value available) # 0, 0
InstitutionName
(0008,0081) ST (no value available) # 0, 0
InstitutionAddress
(0008,0090) PN (no value available) # 0, 0
ReferringPhysiciansName
(0008,1080) LO (no value available) # 0, 0
AdmittingDiagnosesDescription
(0010,0010) PN [xxxx^Sarah] # 10, 1
PatientsName
(0010,0020) LO [4 ] # 2, 1 PatientID
(0010,0030) DA [19600101] # 8, 1
PatientsBirthDate
(0010,0040) CS [F ] # 2, 1 PatientsSex
(0010,1000) LO (no value available) # 0, 0
OtherPatientIDs
(0010,1001) PN (no value available) # 0, 0
OtherPatientNames
(0010,1020) DS (no value available) # 0, 0
PatientsSize
(0010,1030) DS (no value available) # 0, 0
PatientsWeight
(0010,1040) LO (no value available) # 0, 0
PatientsAddress
(0010,1080) LO (no value available) # 0, 0
MilitaryRank
(0010,2160) SH (no value available) # 0, 0 EthnicGroup
(0010,4000) LT (no value available) # 0, 0
PatientComments
(0020,000d) UI [1.2.826.0.1.3680043.2.1265.1.5] # 30, 1
StudyInstanceUID
(0032,1032) PN (no value available) # 0, 0
RequestingPhysician
(0032,1033) LO (no value available) # 0, 0
RequestingService
(0032,1060) LO [Tummy ] # 6, 1
RequestedProcedureDescription
(0038,0010) LO (no value available) # 0, 0 AdmissionID
(0038,0011) LO (no value available) # 0, 0
IssuerOfAdmissionID
(0038,0300) LO (no value available) # 0, 0
CurrentPatientLocation
(0040,0100) SQ (Sequence with undefined length #=1) # u/l, 1
ScheduledProcedureStepSequence
(fffe,e000) na (Item with undefined length #=15) # u/l, 1 Item
(0008,0060) CS [XA] # 2, 1
Modality
(0032,1070) LO (no value available) # 0, 0
RequestedContrastAgent
(0040,0001) AE (no value available) # 0, 0
ScheduledStationAETitle
(0040,0002) DA [20050912] # 8, 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,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,1002) LO (no value available) # 0, 0
ReasonForTheRequestedProcedure
(0040,1003) SH (no value available) # 0, 0
RequestedProcedurePriority
(0040,1004) LO (no value available) # 0, 0
PatientTransportArrangements
(0040,1005) LO (no value available) # 0, 0
RequestedProcedureLocation
(0040,1008) LO (no value available) # 0, 0
ConfidentialityCode
(0040,1009) SH (no value available) # 0, 0
ReportingPriority
(0040,1010) PN (no value available) # 0, 0
NamesOfIntendedRecipientsOfResults
(0040,1400) LT (no value available) # 0, 0
RequestedProcedureComments
(0040,2001) LO (no value available) # 0, 0
RETIRED_ReasonForTheImagingServiceRequest
(0040,2004) DA (no value available) # 0, 0
IssueDateOfImagingServiceRequest
(0040,2005) TM (no value available) # 0, 0
IssueTimeOfImagingServiceRequest
(0040,2008) PN (no value available) # 0, 0
OrderEnteredBy
(0040,2009) SH (no value available) # 0, 0
OrderEnterersLocation
(0040,2010) SH (no value available) # 0, 0
OrderCallbackPhoneNumber
(0040,2016) LO (no value available) # 0, 0
PlacerOrderNumberImagingServiceRequest
(0040,2017) LO (no value available) # 0, 0
FillerOrderNumberImagingServiceRequest
(0040,2400) LT (no value available) # 0, 0
ImagingServiceRequestComments
(0040,3001) LO (no value available) # 0, 0
ConfidentialityConstraintOnPatientDataDescription
-------
Worklist Find SCP Response 2 [status: Pending:
WarningUnsupportedOptionalKeys]
Response Identifiers (2)
# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0050) SH [00004 ] # 6, 1
AccessionNumber
(0008,0080) LO (no value available) # 0, 0
InstitutionName
(0008,0081) ST (no value available) # 0, 0
InstitutionAddress
(0008,0090) PN (no value available) # 0, 0
ReferringPhysiciansName
(0008,1080) LO (no value available) # 0, 0
AdmittingDiagnosesDescription
(0010,0010) PN [Guimaraes^Julian] # 16, 1
PatientsName
(0010,0020) LO [3 ] # 2, 1 PatientID
(0010,0030) DA [19630201] # 8, 1
PatientsBirthDate
(0010,0040) CS [M ] # 2, 1 PatientsSex
(0010,1000) LO (no value available) # 0, 0
OtherPatientIDs
(0010,1001) PN (no value available) # 0, 0
OtherPatientNames
(0010,1020) DS (no value available) # 0, 0
PatientsSize
(0010,1030) DS (no value available) # 0, 0
PatientsWeight
(0010,1040) LO (no value available) # 0, 0
PatientsAddress
(0010,1080) LO (no value available) # 0, 0
MilitaryRank
(0010,2160) SH (no value available) # 0, 0 EthnicGroup
(0010,4000) LT (no value available) # 0, 0
PatientComments
(0020,000d) UI [1.2.826.0.1.3680043.2.1265.1.4] # 30, 1
StudyInstanceUID
(0032,1032) PN [Dr Lucca] # 8, 1
RequestingPhysician
(0032,1033) LO (no value available) # 0, 0
RequestingService
(0032,1060) LO [Neck] # 4, 1
RequestedProcedureDescription
(0038,0010) LO (no value available) # 0, 0 AdmissionID
(0038,0011) LO (no value available) # 0, 0
IssuerOfAdmissionID
(0038,0300) LO (no value available) # 0, 0
CurrentPatientLocation
(0040,0100) SQ (Sequence with undefined length #=1) # u/l, 1
ScheduledProcedureStepSequence
(fffe,e000) na (Item with undefined length #=15) # u/l, 1 Item
(0008,0060) CS [XA] # 2, 1
Modality
(0032,1070) LO (no value available) # 0, 0
RequestedContrastAgent
(0040,0001) AE (no value available) # 0, 0
ScheduledStationAETitle
(0040,0002) DA [20050912] # 8, 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,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,1002) LO (no value available) # 0, 0
ReasonForTheRequestedProcedure
(0040,1003) SH (no value available) # 0, 0
RequestedProcedurePriority
(0040,1004) LO (no value available) # 0, 0
PatientTransportArrangements
(0040,1005) LO (no value available) # 0, 0
RequestedProcedureLocation
(0040,1008) LO (no value available) # 0, 0
ConfidentialityCode
(0040,1009) SH (no value available) # 0, 0
ReportingPriority
(0040,1010) PN (no value available) # 0, 0
NamesOfIntendedRecipientsOfResults
(0040,1400) LT (no value available) # 0, 0
RequestedProcedureComments
(0040,2001) LO (no value available) # 0, 0
RETIRED_ReasonForTheImagingServiceRequest
(0040,2004) DA (no value available) # 0, 0
IssueDateOfImagingServiceRequest
(0040,2005) TM (no value available) # 0, 0
IssueTimeOfImagingServiceRequest
(0040,2008) PN (no value available) # 0, 0
OrderEnteredBy
(0040,2009) SH (no value available) # 0, 0
OrderEnterersLocation
(0040,2010) SH (no value available) # 0, 0
OrderCallbackPhoneNumber
(0040,2016) LO (no value available) # 0, 0
PlacerOrderNumberImagingServiceRequest
(0040,2017) LO (no value available) # 0, 0
FillerOrderNumberImagingServiceRequest
(0040,2400) LT (no value available) # 0, 0
ImagingServiceRequestComments
(0040,3001) LO (no value available) # 0, 0
ConfidentialityConstraintOnPatientDataDescription
-------
Worklist Find SCP Response 3 [status: Pending:
WarningUnsupportedOptionalKeys]
Response Identifiers (3)
# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0050) SH [00003 ] # 6, 1
AccessionNumber
(0008,0080) LO (no value available) # 0, 0
InstitutionName
(0008,0081) ST (no value available) # 0, 0
InstitutionAddress
(0008,0090) PN (no value available) # 0, 0
ReferringPhysiciansName
(0008,1080) LO (no value available) # 0, 0
AdmittingDiagnosesDescription
(0010,0010) PN [Descombes^Andre ] # 16, 1
PatientsName
(0010,0020) LO [2 ] # 2, 1 PatientID
(0010,0030) DA [19620929] # 8, 1
PatientsBirthDate
(0010,0040) CS [M ] # 2, 1 PatientsSex
(0010,1000) LO (no value available) # 0, 0
OtherPatientIDs
(0010,1001) PN (no value available) # 0, 0
OtherPatientNames
(0010,1020) DS (no value available) # 0, 0
PatientsSize
(0010,1030) DS (no value available) # 0, 0
PatientsWeight
(0010,1040) LO (no value available) # 0, 0
PatientsAddress
(0010,1080) LO (no value available) # 0, 0
MilitaryRank
(0010,2160) SH (no value available) # 0, 0 EthnicGroup
(0010,4000) LT (no value available) # 0, 0
PatientComments
(0020,000d) UI [1.2.826.0.1.3680043.2.1265.1.3] # 30, 1
StudyInstanceUID
(0032,1032) PN (no value available) # 0, 0
RequestingPhysician
(0032,1033) LO (no value available) # 0, 0
RequestingService
(0032,1060) LO [Brain ] # 6, 1
RequestedProcedureDescription
(0038,0010) LO (no value available) # 0, 0 AdmissionID
(0038,0011) LO (no value available) # 0, 0
IssuerOfAdmissionID
(0038,0300) LO (no value available) # 0, 0
CurrentPatientLocation
(0040,0100) SQ (Sequence with undefined length #=1) # u/l, 1
ScheduledProcedureStepSequence
(fffe,e000) na (Item with undefined length #=15) # u/l, 1 Item
(0008,0060) CS [XA] # 2, 1
Modality
(0032,1070) LO (no value available) # 0, 0
RequestedContrastAgent
(0040,0001) AE (no value available) # 0, 0
ScheduledStationAETitle
(0040,0002) DA [20050912] # 8, 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,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,1002) LO (no value available) # 0, 0
ReasonForTheRequestedProcedure
(0040,1003) SH (no value available) # 0, 0
RequestedProcedurePriority
(0040,1004) LO (no value available) # 0, 0
PatientTransportArrangements
(0040,1005) LO (no value available) # 0, 0
RequestedProcedureLocation
(0040,1008) LO (no value available) # 0, 0
ConfidentialityCode
(0040,1009) SH (no value available) # 0, 0
ReportingPriority
(0040,1010) PN (no value available) # 0, 0
NamesOfIntendedRecipientsOfResults
(0040,1400) LT (no value available) # 0, 0
RequestedProcedureComments
(0040,2001) LO (no value available) # 0, 0
RETIRED_ReasonForTheImagingServiceRequest
(0040,2004) DA (no value available) # 0, 0
IssueDateOfImagingServiceRequest
(0040,2005) TM (no value available) # 0, 0
IssueTimeOfImagingServiceRequest
(0040,2008) PN (no value available) # 0, 0
OrderEnteredBy
(0040,2009) SH (no value available) # 0, 0
OrderEnterersLocation
(0040,2010) SH (no value available) # 0, 0
OrderCallbackPhoneNumber
(0040,2016) LO (no value available) # 0, 0
PlacerOrderNumberImagingServiceRequest
(0040,2017) LO (no value available) # 0, 0
FillerOrderNumberImagingServiceRequest
(0040,2400) LT (no value available) # 0, 0
ImagingServiceRequestComments
(0040,3001) LO (no value available) # 0, 0
ConfidentialityConstraintOnPatientDataDescription
-------
Worklist Find SCP Response 4 [status: Pending:
WarningUnsupportedOptionalKeys]
Response Identifiers (4)
# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0050) SH [00002 ] # 6, 1
AccessionNumber
(0008,0080) LO (no value available) # 0, 0
InstitutionName
(0008,0081) ST (no value available) # 0, 0
InstitutionAddress
(0008,0090) PN (no value available) # 0, 0
ReferringPhysiciansName
(0008,1080) LO (no value available) # 0, 0
AdmittingDiagnosesDescription
(0010,0010) PN [Grasso^Patty] # 12, 1
PatientsName
(0010,0020) LO [1 ] # 2, 1 PatientID
(0010,0030) DA [19590401] # 8, 1
PatientsBirthDate
(0010,0040) CS [F ] # 2, 1 PatientsSex
(0010,1000) LO (no value available) # 0, 0
OtherPatientIDs
(0010,1001) PN (no value available) # 0, 0
OtherPatientNames
(0010,1020) DS (no value available) # 0, 0
PatientsSize
(0010,1030) DS (no value available) # 0, 0
PatientsWeight
(0010,1040) LO (no value available) # 0, 0
PatientsAddress
(0010,1080) LO (no value available) # 0, 0
MilitaryRank
(0010,2160) SH (no value available) # 0, 0 EthnicGroup
(0010,4000) LT (no value available) # 0, 0
PatientComments
(0020,000d) UI [1.2.826.0.1.3680043.2.1265.1.2] # 30, 1
StudyInstanceUID
(0032,1032) PN [Dr Molinari ] # 12, 1
RequestingPhysician
(0032,1033) LO (no value available) # 0, 0
RequestingService
(0032,1060) LO [Knee] # 4, 1
RequestedProcedureDescription
(0038,0010) LO (no value available) # 0, 0 AdmissionID
(0038,0011) LO (no value available) # 0, 0
IssuerOfAdmissionID
(0038,0300) LO (no value available) # 0, 0
CurrentPatientLocation
(0040,0100) SQ (Sequence with undefined length #=1) # u/l, 1
ScheduledProcedureStepSequence
(fffe,e000) na (Item with undefined length #=15) # u/l, 1 Item
(0008,0060) CS [XA] # 2, 1
Modality
(0032,1070) LO (no value available) # 0, 0
RequestedContrastAgent
(0040,0001) AE (no value available) # 0, 0
ScheduledStationAETitle
(0040,0002) DA [20050912] # 8, 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,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,1002) LO (no value available) # 0, 0
ReasonForTheRequestedProcedure
(0040,1003) SH (no value available) # 0, 0
RequestedProcedurePriority
(0040,1004) LO (no value available) # 0, 0
PatientTransportArrangements
(0040,1005) LO (no value available) # 0, 0
RequestedProcedureLocation
(0040,1008) LO (no value available) # 0, 0
ConfidentialityCode
(0040,1009) SH (no value available) # 0, 0
ReportingPriority
(0040,1010) PN (no value available) # 0, 0
NamesOfIntendedRecipientsOfResults
(0040,1400) LT (no value available) # 0, 0
RequestedProcedureComments
(0040,2001) LO (no value available) # 0, 0
RETIRED_ReasonForTheImagingServiceRequest
(0040,2004) DA (no value available) # 0, 0
IssueDateOfImagingServiceRequest
(0040,2005) TM (no value available) # 0, 0
IssueTimeOfImagingServiceRequest
(0040,2008) PN (no value available) # 0, 0
OrderEnteredBy
(0040,2009) SH (no value available) # 0, 0
OrderEnterersLocation
(0040,2010) SH (no value available) # 0, 0
OrderCallbackPhoneNumber
(0040,2016) LO (no value available) # 0, 0
PlacerOrderNumberImagingServiceRequest
(0040,2017) LO (no value available) # 0, 0
FillerOrderNumberImagingServiceRequest
(0040,2400) LT (no value available) # 0, 0
ImagingServiceRequestComments
(0040,3001) LO (no value available) # 0, 0
ConfidentialityConstraintOnPatientDataDescription
-------
Worklist Find SCP Response 5 [status: Pending:
WarningUnsupportedOptionalKeys]
Response Identifiers (5)
# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0050) SH [00001 ] # 6, 1
AccessionNumber
(0008,0080) LO (no value available) # 0, 0
InstitutionName
(0008,0081) ST (no value available) # 0, 0
InstitutionAddress
(0008,0090) PN (no value available) # 0, 0
ReferringPhysiciansName
(0008,1080) LO (no value available) # 0, 0
AdmittingDiagnosesDescription
(0010,0010) PN [Guimaraes^Lucca ] # 16, 1
PatientsName
(0010,0020) LO [12345 ] # 6, 1 PatientID
(0010,0030) DA [19991002] # 8, 1
PatientsBirthDate
(0010,0040) CS [M ] # 2, 1 PatientsSex
(0010,1000) LO (no value available) # 0, 0
OtherPatientIDs
(0010,1001) PN (no value available) # 0, 0
OtherPatientNames
(0010,1020) DS (no value available) # 0, 0
PatientsSize
(0010,1030) DS (no value available) # 0, 0
PatientsWeight
(0010,1040) LO (no value available) # 0, 0
PatientsAddress
(0010,1080) LO (no value available) # 0, 0
MilitaryRank
(0010,2160) SH (no value available) # 0, 0 EthnicGroup
(0010,4000) LT (no value available) # 0, 0
PatientComments
(0020,000d) UI [1.2.826.0.1.3680043.2.1265.1.1] # 30, 1
StudyInstanceUID
(0032,1032) PN (no value available) # 0, 0
RequestingPhysician
(0032,1033) LO (no value available) # 0, 0
RequestingService
(0032,1060) LO [Leg ] # 4, 1
RequestedProcedureDescription
(0038,0010) LO (no value available) # 0, 0 AdmissionID
(0038,0011) LO (no value available) # 0, 0
IssuerOfAdmissionID
(0038,0300) LO (no value available) # 0, 0
CurrentPatientLocation
(0040,0100) SQ (Sequence with undefined length #=1) # u/l, 1
ScheduledProcedureStepSequence
(fffe,e000) na (Item with undefined length #=15) # u/l, 1 Item
(0008,0060) CS [XA] # 2, 1
Modality
(0032,1070) LO (no value available) # 0, 0
RequestedContrastAgent
(0040,0001) AE (no value available) # 0, 0
ScheduledStationAETitle
(0040,0002) DA [20050912] # 8, 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,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,1002) LO (no value available) # 0, 0
ReasonForTheRequestedProcedure
(0040,1003) SH (no value available) # 0, 0
RequestedProcedurePriority
(0040,1004) LO (no value available) # 0, 0
PatientTransportArrangements
(0040,1005) LO (no value available) # 0, 0
RequestedProcedureLocation
(0040,1008) LO (no value available) # 0, 0
ConfidentialityCode
(0040,1009) SH (no value available) # 0, 0
ReportingPriority
(0040,1010) PN (no value available) # 0, 0
NamesOfIntendedRecipientsOfResults
(0040,1400) LT (no value available) # 0, 0
RequestedProcedureComments
(0040,2001) LO (no value available) # 0, 0
RETIRED_ReasonForTheImagingServiceRequest
(0040,2004) DA (no value available) # 0, 0
IssueDateOfImagingServiceRequest
(0040,2005) TM (no value available) # 0, 0
IssueTimeOfImagingServiceRequest
(0040,2008) PN (no value available) # 0, 0
OrderEnteredBy
(0040,2009) SH (no value available) # 0, 0
OrderEnterersLocation
(0040,2010) SH (no value available) # 0, 0
OrderCallbackPhoneNumber
(0040,2016) LO (no value available) # 0, 0
PlacerOrderNumberImagingServiceRequest
(0040,2017) LO (no value available) # 0, 0
FillerOrderNumberImagingServiceRequest
(0040,2400) LT (no value available) # 0, 0
ImagingServiceRequestComments
(0040,3001) LO (no value available) # 0, 0
ConfidentialityConstraintOnPatientDataDescription
-------
Worklist Find SCP Response 6 [status: Success]
Association Release
+++++++++++++++++++++++++++++
>
> Andre,
>
> - please tell us which version of wlmscpfs you are using,
> - please describe in detail the query you are sending to wlmscpfs,
> - please describe in detail the results you are getting from wlmscpfs.
>
> Running wlmscpfs in verbose mode (--verbose) and copying the output into
> an email would probably be sufficient to solve the problem.
>
> Please also note that there is a discussion forum about OFFIS DCMTK
> which can be used for questions like this: http://forum.dcmtk.org/.
>
> We would be happy to help you with your problem.
>
> Best regards,
> Thomas Wilkens
> OFFIS
>
-
Re: OFFIS - SDK - C-Find Problem
Andre,
you are not doing anything wrong. And the funny thing is, wlmscpfs is
not doing anything wrong either! :-)
The problem you are facing results from the fact that attribute
(0010,0030) PatientsBirthDate is not supported as a matching key
attribute in wlmscpfs. Here is an excerpt from the wlmscpfs.man file
that comes with DCMTK and wlmscpfs:
---cut---
Currently, the wlmscpfs application supports the following attributes as
matching keys:
(0008,0050) AccessionNumber
(0008,0090) ReferringPhysiciansName
(0010,0010) PatientsName
(0010,0020) PatientID
(0010,0040) PatientsSex
(0032,1032) RequestingPhysician
(0038,0010) AdmissionID
(0040,0100) ScheduledProcedureStepSequence
(0008,0060) > Modality
(0040,0001) > ScheduledStationAETitle
(0040,0002) > ScheduledProcedureStepStartDate
(0040,0003) > ScheduledProcedureStepStartTime
(0040,0006) > ScheduledPerformingPhysiciansName
(0040,1001) RequestedProcedureID
(0040,1003) RequestedProcedurePriority
---cut---
In the DICOM standard part 4, section K.6.1.2.2, Table K.6-1 it is
specified that attribute (0010,0030) PatientsBirthDate is only an
__optional__ matching key that does not have to be supported by an SCP,
and that is exactly what wlmscpfs chooses to do: it does not support
this attribute as a matching key attribute. (Hence, wlmscpfs is not
capable of matching patient's birth date information.)
Nevertheless, wlmscpfs supports this attribute as a return key
attribute; here is the corresponding excerpt from wlmscpfs.man:
---cut---
As return keys the following attributes are currently supported by wlmscpfs:
(0008,0005) SpecificCharacterSet
(0008,0050) AccessionNumber
(0008,0080) InstitutionName
(0008,0081) InstitutionAddress
(0008,0090) ReferringPhysiciansName
(0008,1080) AdmittingDiagnosesDescription
(0008,1110) ReferencedStudySequence
(0008,1150) > ReferencedSOPClassUID
(0008,1155) > ReferencedSOPInstanceUID
(0008,1120) ReferencedPatientSequence
(0008,1150) > ReferencedSOPClassUID
(0008,1155) > ReferencedSOPInstanceUID
(0010,0010) PatientsName
(0010,0020) PatientID
(0010,0030) PatientsBirthDate
(0010,0040) PatientsSex
....
---cut---
That is why you are getting this attribute in your response messages.
In general, it should be no problem, though, to change the source code
of wlmscpfs to include matching of patient's birth dates.
Best regards,
Thomas Wilkens
OFFIS
-
Re: OFFIS - SDK - C-Find Problem
Thank you Thomas!
That is reassuring!
Could you point me to the code where the different matching keys are
determined! I will try to make the changes to the code myself although I'm
far from an expert C++ programmer 
Regards,
Andre
>
> Andre,
>
> you are not doing anything wrong. And the funny thing is, wlmscpfs is not
> doing anything wrong either! :-)
>
> The problem you are facing results from the fact that attribute
> (0010,0030) PatientsBirthDate is not supported as a matching key attribute
> in wlmscpfs. Here is an excerpt from the wlmscpfs.man file that comes with
> DCMTK and wlmscpfs:
>
> ---cut---
>
> Currently, the wlmscpfs application supports the following attributes as
> matching keys:
>
> (0008,0050) AccessionNumber
> (0008,0090) ReferringPhysiciansName
> (0010,0010) PatientsName
> (0010,0020) PatientID
> (0010,0040) PatientsSex
> (0032,1032) RequestingPhysician
> (0038,0010) AdmissionID
> (0040,0100) ScheduledProcedureStepSequence
> (0008,0060) > Modality
> (0040,0001) > ScheduledStationAETitle
> (0040,0002) > ScheduledProcedureStepStartDate
> (0040,0003) > ScheduledProcedureStepStartTime
> (0040,0006) > ScheduledPerformingPhysiciansName
> (0040,1001) RequestedProcedureID
> (0040,1003) RequestedProcedurePriority
>
> ---cut---
>
> In the DICOM standard part 4, section K.6.1.2.2, Table K.6-1 it is
> specified that attribute (0010,0030) PatientsBirthDate is only an
> __optional__ matching key that does not have to be supported by an SCP,
> and that is exactly what wlmscpfs chooses to do: it does not support this
> attribute as a matching key attribute. (Hence, wlmscpfs is not capable of
> matching patient's birth date information.)
>
> Nevertheless, wlmscpfs supports this attribute as a return key attribute;
> here is the corresponding excerpt from wlmscpfs.man:
>
> ---cut---
>
> As return keys the following attributes are currently supported by
> wlmscpfs:
>
> (0008,0005) SpecificCharacterSet
> (0008,0050) AccessionNumber
> (0008,0080) InstitutionName
> (0008,0081) InstitutionAddress
> (0008,0090) ReferringPhysiciansName
> (0008,1080) AdmittingDiagnosesDescription
> (0008,1110) ReferencedStudySequence
> (0008,1150) > ReferencedSOPClassUID
> (0008,1155) > ReferencedSOPInstanceUID
> (0008,1120) ReferencedPatientSequence
> (0008,1150) > ReferencedSOPClassUID
> (0008,1155) > ReferencedSOPInstanceUID
> (0010,0010) PatientsName
> (0010,0020) PatientID
> (0010,0030) PatientsBirthDate
> (0010,0040) PatientsSex
> ...
>
> ---cut---
>
> That is why you are getting this attribute in your response messages.
>
> In general, it should be no problem, though, to change the source code of
> wlmscpfs to include matching of patient's birth dates.
>
> Best regards,
> Thomas Wilkens
> OFFIS
>
-
Re: OFFIS - SDK - C-Find Problem
Andre,
> Could you point me to the code where the different matching keys are
> determined! I will try to make the changes to the code myself although I'm
> far from an expert C++ programmer 
The starting point you are looking for is function
WlmDataSourceFileSystem::StartFindRequest(...) which deals with
analyzing the query and preparing the results for the query.
Regarding the integration of the PatientsBirthDate attribute as a
matching key in wlmscpfs, you should also search for
"DCM_ScheduledProcedureStepStartDate" in the source files below dcmwlm.
This attribute (ScheduledProcedureStepStartDate) already _is_ a matching
key in wlmscpfs and everything you need to do to integrate
PatientsBirthDate should be analogous to what is already done for this
attribute.
Best regards,
Thomas Wilkens
OFFIS
-
Re: OFFIS - SDK - C-Find Problem
Thanks again Thomas!
Regards,
Andre
"Thomas Wilkens" wrote in message
news:dgronq$fmi@news.Informatik.Uni-Oldenburg.DE...
>
> Andre,
>
>> Could you point me to the code where the different matching keys are
>> determined! I will try to make the changes to the code myself although
>> I'm far from an expert C++ programmer 
>
> The starting point you are looking for is function
> WlmDataSourceFileSystem::StartFindRequest(...) which deals with analyzing
> the query and preparing the results for the query.
>
> Regarding the integration of the PatientsBirthDate attribute as a matching
> key in wlmscpfs, you should also search for
> "DCM_ScheduledProcedureStepStartDate" in the source files below dcmwlm.
> This attribute (ScheduledProcedureStepStartDate) already _is_ a matching
> key in wlmscpfs and everything you need to do to integrate
> PatientsBirthDate should be analogous to what is already done for this
> attribute.
>
> Best regards,
> Thomas Wilkens
> OFFIS
>