RetrieveLoactionUID missing

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
xcoder
Posts: 11
Joined: Thu, 2011-03-17, 15:28

RetrieveLoactionUID missing

#1 Post by xcoder »

I try to create a Key Object Selection Document with dcmtk.

There is no setter (also no variable in SeriesStruct) for the retrieve location uid on the requested procedure evidence.

Here a a snippet of my code:

Code: Select all

        DSRDocument document(DSRTypes::DT_KeyObjectSelectionDocument);
        document.setPatientName(patientName);
        document.getTree().addContentItem(DSRTypes::RT_isRoot, DSRTypes::VT_Container);
        document.getTree().getCurrentContentItem().setConceptName(DSRCodedEntryValue("113030", "DCM", "Manifest"));
        document.getCurrentRequestedProcedureEvidence().addItem(studyInstanceUID, seriesInstanceUID, referencedSOPClassUID, referencedSOPInstanceUID);
        document.getCurrentRequestedProcedureEvidence().setRetrieveAETitle(retrieveAETitle);
        //missing
        document.getCurrentRequestedProcedureEvidence().setRetrieveLocationUID(retrieveLocationUID);
The retrieveLocationUID is required for XDS-I.

Is there a different way to add this to my DSRDocument?

Thanks
Glenn

J. Riesmeier
DCMTK Developer
Posts: 2542
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: RetrieveLoactionUID missing

#2 Post by J. Riesmeier »

There is no setter (also no variable in SeriesStruct) for the retrieve location uid on the requested procedure evidence.
That's true. I guess that this attribute has been added to the DICOM standard after we've developed the DSRSOPInstanceReferenceList class. At least, this attribute is optional, i.e. it does not have to be supported by a DICOM-compliant system.
Is there a different way to add this to my DSRDocument?
You could either enhance the DSRSOPInstanceReferenceList class accordingly or add the missing data elements to the dataset after it has been filled by DSRDocument::write().

I will also add this as a "feature request" to our to-do list ...

J. Riesmeier
DCMTK Developer
Posts: 2542
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: RetrieveLoactionUID missing

#3 Post by J. Riesmeier »

The following commit adds support for the Retrieve Location UID to the relevant dcmsr class: git commit

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest