Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reject query/retrieve requests with wildcard values for unique keys for levels above the query/retrieve level #4252

Closed
gunterze opened this issue Oct 11, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@gunterze
Copy link
Member

gunterze commented Oct 11, 2023

Reject query/retrieve requests with wildcard values for unique keys for levels above the query/retrieve level, if

  • neither relational-queries/retrieves was negotiate
  • nor Relational Query/Retrieve Negotiation Lenient was set to true

Such requests will be rejected with error status A900H - Identifier Does Not Match SOP Class, e.g.:

15:13:11.324 DEBUG - FINDSCU->DCM4CHEE(1) << 1:C-FIND-RQ Dataset:
(0008,0020) DA [19950608] StudyDate
(0008,0052) CS [IMAGE] QueryRetrieveLevel
(0020,000D) UI [*] StudyInstanceUID
(0020,000E) UI [*] SeriesInstanceUID

15:13:11.350 INFO  - FINDSCU->DCM4CHEE(1) >> 1:C-FIND-RSP[pcid=1, status=a900H, errorComment=Invalid StudyInstanceUID (0020,000D) - *
  tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
15:13:11.350 DEBUG - FINDSCU->DCM4CHEE(1) >> 1:C-FIND-RSP Command:
(0000,0100) US [32800] CommandField
(0000,0120) US [1] MessageIDBeingRespondedTo
(0000,0800) US [257] CommandDataSetType
(0000,0900) US [43264] Status
(0000,0901) AT [0020000D] OffendingElement
(0000,0902) LO [Invalid StudyInstanceUID (0020,000D) - *] ErrorComment

Related: #2043

@gunterze gunterze added the enhancement New feature or request label Oct 11, 2023
@gunterze gunterze added this to the 5.31.1 milestone Oct 11, 2023
@gunterze gunterze self-assigned this Oct 11, 2023
gunterze added a commit to dcm4che/dcm4che that referenced this issue Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant