public ClinicalNoteClassification getMappedClassificationLookup() { ClinicalNoteClassificationCollection coll = ims.clinical.vo.lookups.LookupHelper.getClinicalNoteClassification(domain.getLookupService()); for (int i = 0; i < coll.size(); i++) { LookupInstVo instMap = domain.getMappings(coll.get(i)); LookupMappingVoCollection mapColl = instMap.getMappings(); for (int j = 0; j < mapColl.size(); j++) { LookupMappingVo valueObject = mapColl.get(j); if(valueObject.getExtCode()!=null && valueObject.getExtCode().equals("CAREPLANNOTE")) return coll.get(i); } } return null; }