class MbcAgendasParte1RN extends BaseBusiness {

	public void verificarObitoPaciente(AipPacientes paciente,
			Boolean indGeradoSistema) throws ApplicationBusinessException {
		if(indGeradoSistema){
			return;
		}
		
		if(paciente.getDtObito() != null || paciente.getDtObitoExterno() != null){
			throw new ApplicationBusinessException(MbcAgendasRNExceptionCode.MBC_01321);
		}
	}

}