Skip to content

AWS DICOMWeb StudyDate/Time range search does not seem to work.

0

I'm trying to do a date and time range search against AWS HealthImaging (dicomweb) down to a 30min window. The date range works but when I add StudyTime in the range I get no results. Even though I know there are results in that time period. If I give it an exact time it works e.g. There is a Study with a date/time of 20250815/072638 and these work as expected:

../studies?StudyDate=20250815 //returns all studies on that day ../studies?StudyDate=20250815&StudyTime=072638 //returns the study with that StudyTime

but these all the following return a 204 No Content

../studies?StudyDate=20250815&StudyTime=072500-073000 /studies?StudyDate=20250815&StudyTime=072500.0000-073000.0000 ../studies?StudyDate=20250815&StudyTime=072500.000000-073000.000000 ../studies?StudyDate=20250815-20250815&StudyTime=072500-073000 ../studies?StudyDate=20250815-20250815&StudyTime=072500-073000&includefield=00080020,00080030

This seems like basic DICOMWeb functionality, but I can't find anything online about others finding the same problem. Can someone please tell me what am I missing?

asked a year ago146 views

2 Answers
1
Accepted Answer

Hi Shawn, we have verified the behavior above and the service team will enable range matching on the StudyTime attribute. It is currently single value matching only, which is an limitation. Thanks for your feedback!

AWS

answered 10 months ago

  • Excellent news, any idea what sort of timeline that would be?

0

Based on the information provided, it appears you're encountering limitations with the DICOMweb QIDO-RS range queries in AWS HealthImaging.

While AWS HealthImaging does support range queries for DICOM data, the documentation doesn't specifically indicate that time range queries using StudyTime are supported in the DICOMweb interface. The examples shown for range queries only demonstrate date ranges (e.g., StudyDate=AABBYYYY-BBCCYYYY).

For time-based range searches, AWS HealthImaging provides an alternative approach using the native SearchImageSets API with the BETWEEN operator. This API allows you to search for image sets within specific date and time ranges using the DICOMStudyDateAndTime structure.

For example, you can search for image sets with DICOM Studies generated between specific dates and times by using the AWS CLI:

aws medical-imaging search-image-sets \
--datastore-id 12345678901234567890123456789012 \
--search-criteria file://search-criteria.json

Where search-criteria.json contains:

{
"filters": [{
"values": [{
"DICOMStudyDateAndTime": {
"DICOMStudyDate": "20250815",
"DICOMStudyTime": "072500"
}
},
{
"DICOMStudyDateAndTime": {
"DICOMStudyDate": "20250815",
"DICOMStudyTime": "073000"
}
}],
"operator": "BETWEEN"
}]
}

This approach should allow you to search within the 30-minute window you're looking for. Note that the DICOMStudyTime is optional in this structure, but when provided, it allows for more precise time-based filtering.
Sources
Searching DICOM data in HealthImaging - AWS HealthImaging
Searching image sets - AWS HealthImaging
Use SearchImageSets with an AWS SDK or CLI - AWS HealthImaging
SearchByAttributeValue - AWS HealthImaging

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.