Fetch study between time range using qrscp

34 views
Skip to first unread message

Jeenit Khatri

unread,
Mar 16, 2017, 7:08:04 AM3/16/17
to pynetdicom
Hello, 

   I am trying to fetch the study from the DCM4CHEE using  the date but the thing is here  it send date and time as string so it returns the only matched record
but I need to fetch the data between two datetime range.
Is there any way to do that using the qrscp.

    d.StudyDate = args.searchstring
    d.StudyTime = '181200'
    d.QueryRetrieveLevel = "STUDY"
    d.PatientID = "*"

Thanks, 

jaborgesBR

unread,
Mar 23, 2017, 6:59:53 PM3/23/17
to pynetdicom
Dear Jeenit,

For fetching studies from last week, you may use:  d.StudyDate = '20170316-20170323'
Reply all
Reply to author
Forward
0 new messages