DicomRange Date

54 views
Skip to first unread message

Alejandro Acosta

unread,
Oct 14, 2016, 4:47:34 PM10/14/16
to Fellow Oak DICOM
Hi everybode, i am worked with C-Find and can display the information about patiens, searching for PatientID or PatientName, now i want add range date, this is my code for search study for id, name y range date, but not shows studies, hope i can help me please, regards.

DicomDateRange range = new DicomDateRange();
     range
.Maximum = Convert.ToDateTime(final.Text);
     range
.Minimum = Convert.ToDateTime(inicio.Text);

DicomCFindRequest series = DicomCFindRequest.CreateStudyQuery(patientId: textbox1.Text, patientName: textbox1.Text, studyDateTime: range);
                           
DicomCFindRequest.ResponseDelegate cFindResponseDelegate1 = StudyListResponse;
                           
DicomClient client1 = new DicomClient();
                            series
.OnResponseReceived = cFindResponseDelegate1;
                            client1
.AddRequest(series);
                            client1
.Send(remotehost, port, false, callingAET, calledAET);


Barna Kadar

unread,
Dec 16, 2019, 2:56:36 PM12/16/19
to Fellow Oak DICOM
did you have any success?
Reply all
Reply to author
Forward
0 new messages