class VerificaCaracteristicaItemProcedimentoHospitalarRN extends AbstractFatDebugLogEnableRN {

	public boolean verificarCaracteristicaItemProcHosp(final Short iphPhoSeq,
			final Integer iphSeq,
			final DominioFatTipoCaractItem caracteristica) {

		if ((iphPhoSeq != null) && (iphSeq != null) && (caracteristica != null)) {
			final Integer tctSeq = this.obterTctSeq(caracteristica);
			final FatCaractItemProcHosp ciph = this.obterCaractItemProcHosp(iphPhoSeq, iphSeq, tctSeq);
			
			if (ciph != null) {
				// v_resultado := nvl(v_vlr_char,'S');
				return VerificaCaracteristicaItemProcedimentoHospitalarRN.STRING_S.equals( (String) CoreUtil.nvl(ciph.getValorChar(), "S") );
			} else {
				return false;
			}
		}
		return false;
	}

}