d.setUID(uidService.nextUID());
    private Diagnosis createDiagnosis(String s) throws IllegalValueException, TechSpecNotFoundException {        TestDiagnosis d = new TestDiagnosis(s, serviceBroker);                d.setUID(uidService.nextUID());        return d;    }