public static boolean verifyPrescription(FillPrescription fillP){
		if(DatabaseProcess.getDrugNames().contains(fillP.getDrugName().getText().toLowerCase())){
		
			if(InputChecker.digits(fillP.getQuantity().getText())){
				if(InputChecker.digits(fillP.getRefillCount().getText())){
					if(InputChecker.dob(fillP.getFillDate())){
						if(InputChecker.expiration(fillP.getExpiration()))
							return true;
								else{ 
								fillP.getWarning().setText("invalid format for start date");}
							}else{fillP.getWarning().setText("wrong format for fill date");}
						}else{fillP.getWarning().setText("wrong format for refill count");}
					}else{
						
						fillP.getWarning().setText("wrong format for qauantity");}
				}else{
						
						fillP.getWarning().setText("wrong format for drug name");}
		return false;
	}