public static WorkQueueStatusCollection getWorkQueueStatus(LookupService lookupService) {
   WorkQueueStatusCollection collection =
       (WorkQueueStatusCollection)
           lookupService.getLookupCollection(
               WorkQueueStatus.TYPE_ID, WorkQueueStatusCollection.class, WorkQueueStatus.class);
   return collection;
 }
  public ArrayList<Specialty> listSpecialties(Specialty filterLookup)
      throws DomainInterfaceException {
    if (filterLookup == null)
      throw new DomainInterfaceException("Can not search on null speciality filter");

    ArrayList<Specialty> specialtiesList = new ArrayList<Specialty>();

    ArrayList<String> searchWords = new ArrayList<String>();

    filterLookup.setText(filterLookup.getText().replaceAll(" ", "%"));
    String[] split = filterLookup.getText().split("%");

    for (int i = split.length - 1; i >= 0; i--) {
      if (!(split[i].equalsIgnoreCase(""))) searchWords.add(split[i]);
    }

    LookupService lookup = this.getLookupService();
    SpecialtyCollection collection =
        (SpecialtyCollection)
            lookup.getLookupCollection(
                Specialty.TYPE_ID, SpecialtyCollection.class, Specialty.class);

    for (int i = 0; i < collection.size(); i++) {
      Specialty specialty = collection.get(i);

      if (containsText(specialty, searchWords)) specialtiesList.add(specialty);
    }

    return specialtiesList;
  }
 public static InsuranceTypeCollection getInsuranceType(LookupService lookupService) {
   InsuranceTypeCollection collection =
       (InsuranceTypeCollection)
           lookupService.getLookupCollection(
               InsuranceType.TYPE_ID, InsuranceTypeCollection.class, InsuranceType.class);
   return collection;
 }
 public static JobTypeCollection getJobType(LookupService lookupService) {
   JobTypeCollection collection =
       (JobTypeCollection)
           lookupService.getLookupCollection(
               JobType.TYPE_ID, JobTypeCollection.class, JobType.class);
   return collection;
 }
 public static AccountingTypeCollection getAccountingType(LookupService lookupService) {
   AccountingTypeCollection collection =
       (AccountingTypeCollection)
           lookupService.getLookupCollection(
               AccountingType.TYPE_ID, AccountingTypeCollection.class, AccountingType.class);
   return collection;
 }
 public static CallTypeCollection getCallType(LookupService lookupService) {
   CallTypeCollection collection =
       (CallTypeCollection)
           lookupService.getLookupCollection(
               CallType.TYPE_ID, CallTypeCollection.class, CallType.class);
   return collection;
 }
 public static PatientTypeCollection getPatientType(LookupService lookupService) {
   PatientTypeCollection collection =
       (PatientTypeCollection)
           lookupService.getLookupCollection(
               PatientType.TYPE_ID, PatientTypeCollection.class, PatientType.class);
   return collection;
 }
 public static BatchStatusCollection getBatchStatus(LookupService lookupService) {
   BatchStatusCollection collection =
       (BatchStatusCollection)
           lookupService.getLookupCollection(
               BatchStatus.TYPE_ID, BatchStatusCollection.class, BatchStatus.class);
   return collection;
 }
 public static WhereHeardCollection getWhereHeard(LookupService lookupService) {
   WhereHeardCollection collection =
       (WhereHeardCollection)
           lookupService.getLookupCollection(
               WhereHeard.TYPE_ID, WhereHeardCollection.class, WhereHeard.class);
   return collection;
 }
 public static LoCallStatusCollection getLoCallStatus(LookupService lookupService) {
   LoCallStatusCollection collection =
       (LoCallStatusCollection)
           lookupService.getLookupCollection(
               LoCallStatus.TYPE_ID, LoCallStatusCollection.class, LoCallStatus.class);
   return collection;
 }
 public static PatientCheckListCollection getPatientCheckList(LookupService lookupService) {
   PatientCheckListCollection collection =
       (PatientCheckListCollection)
           lookupService.getLookupCollection(
               PatientCheckList.TYPE_ID, PatientCheckListCollection.class, PatientCheckList.class);
   return collection;
 }
 public static CallerRelationshipCollection getCallerRelationship(LookupService lookupService) {
   CallerRelationshipCollection collection =
       (CallerRelationshipCollection)
           lookupService.getLookupCollection(
               CallerRelationship.TYPE_ID,
               CallerRelationshipCollection.class,
               CallerRelationship.class);
   return collection;
 }
 public static CommentContextTypeCollection getCommentContextType(LookupService lookupService) {
   CommentContextTypeCollection collection =
       (CommentContextTypeCollection)
           lookupService.getLookupCollection(
               CommentContextType.TYPE_ID,
               CommentContextTypeCollection.class,
               CommentContextType.class);
   return collection;
 }
 public static WaitingListLengthQualifierCollection getWaitingListLengthQualifier(
     LookupService lookupService) {
   WaitingListLengthQualifierCollection collection =
       (WaitingListLengthQualifierCollection)
           lookupService.getLookupCollection(
               WaitingListLengthQualifier.TYPE_ID,
               WaitingListLengthQualifierCollection.class,
               WaitingListLengthQualifier.class);
   return collection;
 }
 public static CountyCollection getCounty(LookupService lookupService) {
   CountyCollection collection =
       (CountyCollection)
           lookupService.getLookupCollection(County.TYPE_ID, CountyCollection.class, County.class);
   return collection;
 }