Adding private tags to the dictionary
Define your Private Creator ID and element definitions in YourPrivateDictionary.xml
Generate ZIP with serialized private Element Dictionary and service provider configuration file by
~/dcm4che-2.0.19/bin/mkelmdic YourPrivateDictionary.xml YourPrivateElementDictionary YourPrivateElementDictionary.zipGenerate ZIP with serialized private VR Map and service provider configuration file by
~/dcm4che-2.0.19/bin/mkvrmap YourPrivateDictionary.xml YourPrivateVRMap YourPrivateVRMap.zipEither put both generated ZIPs into your CLASSPTH or merge them into one ZIP, so you only need to add one file path to your CLASSPATH
Optional: Apply dcm4che2-src/dcm4che-dict/src/main/xsl/Tag.xsl to YourPrivateDictionary.xml to generate YourPrivateTag.java with int constants for your private tags.