Menu

#13 StorageService seems not to propagate received FileMetaInfo to the pluggins

1.2.0
open
nobody
None
5
2014-03-26
2014-03-26
No

Hi,
using this great robust software, I needed my pluggins to access FileMetaInfo from received Dicom Files.

May it be a bug, but in class de.iftm.dcm4che.services.StorageService, method doCStore, a FileMetaInfo is created from the received file, but it isn't propagated any further to the pluggins. That let's the pluggin only with Dataset information, but no knowledge of the original received transfer syntax (for example).

One solution could be overloading the StorageServiceEvent constructor with another FileMetaINfo argument and then overloading the process( Dataset ) in the PlugginChain class, with another method process( Dataset ds , FileMetaInfo fmi ). At last, the chain sets a fmi variable in the pluggin, which let's the pluggin access to the original fmi (overloading the process in the pluggin would cause to modify all pluggins interfaces, so may be better to get/set the fmi in the pluggin)

I'm new to Dicom systems, so I do not know if there's a standard way to access original received files FileMetaInfo, other than what's proposed, hope this may help some ...

Discussion


Log in to post a comment.

MongoDB Logo MongoDB