findscu---about query keys
Moderator: Moderator Team
findscu---about query keys
Hi, all,
Using findscu, is it possible to query some SERIES specified only by PatientName? I mean do not mention PatientID!
I have tried like this:
findscu -P 127.0.0.1 5678 -aec COMMON -k 0008,0052=SERIES -k (0010,0010)="JU*" query.dcm
it returns all the series in the database.
I tries four unique IDs, they work well.
however, PatientSex, StudyDate, StudyID, etc, they failed.
Thanks a lot
Using findscu, is it possible to query some SERIES specified only by PatientName? I mean do not mention PatientID!
I have tried like this:
findscu -P 127.0.0.1 5678 -aec COMMON -k 0008,0052=SERIES -k (0010,0010)="JU*" query.dcm
it returns all the series in the database.
I tries four unique IDs, they work well.
however, PatientSex, StudyDate, StudyID, etc, they failed.
Thanks a lot
Matt
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Hi,
in DICOM you have to provide all unique keys (Patient ID, Study Instance UID, Series Instance UID and SOP Instance UID) down to the level that you are querying. In your example you query on SERIES level; thus, you have to provide Patient ID and Study Instance UID in the query. So if the PACS server you use would be very strict, your example query would be already rejected.
Also, a query has to be strictly hierarchical which means that when you query on PATIENT level, you can only ask for tags on that level, e.g. Patients Name, Patients Sex and so on. When querying on STUDY level you cannot use patient attributes (however, you must use PatientID for the reason above), or series/image level attributes.
You should read part 4 about query/retrieve in the DICOM standard.
Best regards,
Michael
in DICOM you have to provide all unique keys (Patient ID, Study Instance UID, Series Instance UID and SOP Instance UID) down to the level that you are querying. In your example you query on SERIES level; thus, you have to provide Patient ID and Study Instance UID in the query. So if the PACS server you use would be very strict, your example query would be already rejected.
Also, a query has to be strictly hierarchical which means that when you query on PATIENT level, you can only ask for tags on that level, e.g. Patients Name, Patients Sex and so on. When querying on STUDY level you cannot use patient attributes (however, you must use PatientID for the reason above), or series/image level attributes.
You should read part 4 about query/retrieve in the DICOM standard.
Best regards,
Michael
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
I read the stranded, however, I am still confused.
How can I get all the series list for modality CT (I mean I just know the modality is CT, I do NOT know anything else)? can you give some suggestion?
How can I get all study list between date1 and date2?
Thanks alot!
If I query at SERIES level, How can I know the Patient ID, Study Instance UID, Series Instance UID before query?in DICOM you have to provide all unique keys (Patient ID, Study Instance UID, Series Instance UID and SOP Instance UID) down to the level that you are querying. In your example you query on SERIES level; thus, you have to provide Patient ID and Study Instance UID in the query. So if the PACS server you use would be very strict, your example query would be already rejected.
How can I get all the series list for modality CT (I mean I just know the modality is CT, I do NOT know anything else)? can you give some suggestion?
How can I get all study list between date1 and date2?
Thanks alot!
Matt
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Because you may asked for them before. If you know a series instance uid and want to download that series, you have to first query on patient and study level to find out to which patient/study this series belongs to.If I query at SERIES level, How can I know the Patient ID, Study Instance UID, Series Instance UID before query?
First, query for all patient IDs; then query for all study instance UIDs of those patients; then query on series level and ask for modality=CT. Yes, it is really that troublesomeHow can I get all the series list for modality CT (I mean I just know the modality is CT, I do NOT know anything else)? can you give some suggestion?
Query for all patient IDs first and then query something like StudyDate="20100101-20101231". If you use Study Root SOP Class instead of Patient Root SOP Class, you can skip the patient ID query and start directly with the study date.How can I get all study list between date1 and date2?
Best regards,
Michael
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Who is online
Users browsing this forum: Google [Bot] and 1 guest