if (d.getWrapper() == null) { logger.error("=============>>>>>>>>> Saw Diagnosis with null wrapper attr (with UID="+d.getUID()+")"); }
    private DiagnosesWrapper findWrapper(Diagnosis d, Collection wrappers ) {             UID uid = d.getWrapper().getUID();        for ( Iterator iter = wrappers.iterator(); iter.hasNext() ; )         {            DiagnosesWrapper dw = (DiagnosesWrapper)iter.next();            if ( uid.equals(dw.getUID()) ) {                return dw;            }        }        return null;            }