private List<ModificationItem> storeDiffs(
     RejectionNote prev, RejectionNote rn, ArrayList<ModificationItem> mods) {
   //        storeDiff(mods, "dcmCodeValue", prev.getCodeValue(), rn.getCodeValue());
   //        storeDiff(mods, "dcmCodingSchemeDesignator",
   //                prev.getCodingSchemeDesignator(),
   //                rn.getCodingSchemeDesignator());
   //        storeDiff(mods, "dcmCodingSchemeVersion",
   //                prev.getCodingSchemeVersion(),
   //                rn.getCodingSchemeVersion());
   storeDiff(mods, "dcmCodeMeaning", prev.getCodeMeaning(), rn.getCodeMeaning());
   storeDiff(mods, "dcmRejectionAction", prev.getActions().toArray(), rn.getActions().toArray());
   return mods;
 }
 private static Attributes storeTo(RejectionNote ac, BasicAttributes attrs) {
   attrs.put("objectclass", "dcmRejectionNote");
   storeNotNull(attrs, "dcmCodeValue", ac.getCodeValue());
   storeNotNull(attrs, "dcmCodingSchemeDesignator", ac.getCodingSchemeDesignator());
   storeNotNull(attrs, "dcmCodingSchemeVersion", ac.getCodingSchemeVersion());
   storeNotNull(attrs, "dcmCodeMeaning", ac.getCodeMeaning());
   storeNotEmpty(attrs, "dcmRejectionAction", ac.getActions().toArray());
   return attrs;
 }