private static ArrayList<Models.ViewModel.BillItem> getBillItems(ArrayList<Models.DatabaseModel.BillItem> billItems, ArrayList<Models.DatabaseModel.Medicine> medicines) {

        ArrayList<Models.ViewModel.BillItem> viewmodelbillItemArray = new ArrayList<>();
        for (Models.DatabaseModel.BillItem billItem : billItems) {
            for (Models.DatabaseModel.Medicine medicine : medicines) {
                if (billItem.getMedicineId() == medicine.getID()) {
                    viewmodelbillItemArray.add(new Models.ViewModel.BillItem(billItem, medicine));
                    break;
                }
            }
        }

        return viewmodelbillItemArray;
    }