コード例 #1
0
 public static WorkQueueStatusCollection getWorkQueueStatus(LookupService lookupService) {
   WorkQueueStatusCollection collection =
       (WorkQueueStatusCollection)
           lookupService.getLookupCollection(
               WorkQueueStatus.TYPE_ID, WorkQueueStatusCollection.class, WorkQueueStatus.class);
   return collection;
 }
コード例 #2
0
  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;
  }
コード例 #3
0
 public static InsuranceTypeCollection getInsuranceType(LookupService lookupService) {
   InsuranceTypeCollection collection =
       (InsuranceTypeCollection)
           lookupService.getLookupCollection(
               InsuranceType.TYPE_ID, InsuranceTypeCollection.class, InsuranceType.class);
   return collection;
 }
コード例 #4
0
 public static JobTypeCollection getJobType(LookupService lookupService) {
   JobTypeCollection collection =
       (JobTypeCollection)
           lookupService.getLookupCollection(
               JobType.TYPE_ID, JobTypeCollection.class, JobType.class);
   return collection;
 }
コード例 #5
0
 public static AccountingTypeCollection getAccountingType(LookupService lookupService) {
   AccountingTypeCollection collection =
       (AccountingTypeCollection)
           lookupService.getLookupCollection(
               AccountingType.TYPE_ID, AccountingTypeCollection.class, AccountingType.class);
   return collection;
 }
コード例 #6
0
 public static CallTypeCollection getCallType(LookupService lookupService) {
   CallTypeCollection collection =
       (CallTypeCollection)
           lookupService.getLookupCollection(
               CallType.TYPE_ID, CallTypeCollection.class, CallType.class);
   return collection;
 }
コード例 #7
0
 public static PatientTypeCollection getPatientType(LookupService lookupService) {
   PatientTypeCollection collection =
       (PatientTypeCollection)
           lookupService.getLookupCollection(
               PatientType.TYPE_ID, PatientTypeCollection.class, PatientType.class);
   return collection;
 }
コード例 #8
0
 public static BatchStatusCollection getBatchStatus(LookupService lookupService) {
   BatchStatusCollection collection =
       (BatchStatusCollection)
           lookupService.getLookupCollection(
               BatchStatus.TYPE_ID, BatchStatusCollection.class, BatchStatus.class);
   return collection;
 }
コード例 #9
0
 public static WhereHeardCollection getWhereHeard(LookupService lookupService) {
   WhereHeardCollection collection =
       (WhereHeardCollection)
           lookupService.getLookupCollection(
               WhereHeard.TYPE_ID, WhereHeardCollection.class, WhereHeard.class);
   return collection;
 }
コード例 #10
0
 public static LoCallStatusCollection getLoCallStatus(LookupService lookupService) {
   LoCallStatusCollection collection =
       (LoCallStatusCollection)
           lookupService.getLookupCollection(
               LoCallStatus.TYPE_ID, LoCallStatusCollection.class, LoCallStatus.class);
   return collection;
 }
コード例 #11
0
 public static PatientCheckListCollection getPatientCheckList(LookupService lookupService) {
   PatientCheckListCollection collection =
       (PatientCheckListCollection)
           lookupService.getLookupCollection(
               PatientCheckList.TYPE_ID, PatientCheckListCollection.class, PatientCheckList.class);
   return collection;
 }
コード例 #12
0
 public static CallerRelationshipCollection getCallerRelationship(LookupService lookupService) {
   CallerRelationshipCollection collection =
       (CallerRelationshipCollection)
           lookupService.getLookupCollection(
               CallerRelationship.TYPE_ID,
               CallerRelationshipCollection.class,
               CallerRelationship.class);
   return collection;
 }
コード例 #13
0
 public static CommentContextTypeCollection getCommentContextType(LookupService lookupService) {
   CommentContextTypeCollection collection =
       (CommentContextTypeCollection)
           lookupService.getLookupCollection(
               CommentContextType.TYPE_ID,
               CommentContextTypeCollection.class,
               CommentContextType.class);
   return collection;
 }
コード例 #14
0
 public static WaitingListLengthQualifierCollection getWaitingListLengthQualifier(
     LookupService lookupService) {
   WaitingListLengthQualifierCollection collection =
       (WaitingListLengthQualifierCollection)
           lookupService.getLookupCollection(
               WaitingListLengthQualifier.TYPE_ID,
               WaitingListLengthQualifierCollection.class,
               WaitingListLengthQualifier.class);
   return collection;
 }
コード例 #15
0
 public static CountyCollection getCounty(LookupService lookupService) {
   CountyCollection collection =
       (CountyCollection)
           lookupService.getLookupCollection(County.TYPE_ID, CountyCollection.class, County.class);
   return collection;
 }