class AfaDispMdtoCbSpsRN extends BaseBusiness implements Serializable {

	public boolean assinalaMedicamentoDispensado(Long seqAfaDispMdto){
		
		boolean medicamentoDispensando = false;
		
		Long v_qtdeEtiq = getAfaDispMdtoCbSpsDAO().getDispMdtoCbSpsExcluidoByDispensacaoMdtoCount(seqAfaDispMdto, DominioIndExcluidoDispMdtoCbSps.I);
		DominioSituacaoDispensacaoMdto v_sitDSM = getAfaDispensacaoMdtosDAO().pesquisarSituacaoDispensacaoMdto(seqAfaDispMdto);

		if (DominioSituacaoDispensacaoMdto.D.equals(v_sitDSM) && v_qtdeEtiq.intValue() == 0){
			medicamentoDispensando = true;
		}
		
		return medicamentoDispensando;
	}

}