class MbcAgendaSolicEspecialRN extends BaseBusiness {

	public void validarDescricaoCasoObrigatoria(MbcAgendaSolicEspecial agendaSolicEspecial) throws ApplicationBusinessException {
		if(agendaSolicEspecial.getMbcNecessidadeCirurgica().getIndExigeDescSolic() && (agendaSolicEspecial.getDescricao() == null
				|| agendaSolicEspecial.getDescricao().isEmpty())) {
			throw new ApplicationBusinessException(MbcAgendaSolicEspecialRNExceptionCode.MBC_00889);
		}
	}

}