General

This module provides simple splitting based on intance number and should be used as template when writing more specific plugin modules.

The setup_dcm creates a template options hash.

FUNCTIONS

handle_duplicates

If more data with the same series/instance number arrive -- can happen -- the second index is incremented until a free slot is found. It is up to the user to sort the mess, i.e. write/use a more sophisticated plugin.

populate_header

Here happens the vendor/modallity specific stuff like parsing private fields. It is required to set the IcePos and dcm_key fields in the piddle header. dcm_key serves mainly as a unique identifier, IcePos is an index piddle.

setup_dcm

sets useful options for this modality. Should accept a hash ref and return one.

sort_protid

alternative to split based on lProtID (matches raw data key)