/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package clips.delegate.doctor.certificate.tag.certTags;
import clips.delegate.doctor.DiseaseLocal;
import clips.delegate.doctor.certificate.CertificateLocal;
import clips.delegate.doctor.certificate.tag.TagToClass;
import clips.delegate.doctor.certificate.tag.interfaces.TypeSelectableRO;
import cli_fmw.delegate.report.ReportParam;
import cli_fmw.main.ClipsException;
import framework.utils.PairIntStr;
/**
*
* @author vip
*/
@TagToClass(tagName="tuber_confirm_metod", title="Метод подтверждения бактериовыделения туберкулеза")
public class CertTagTuberConfirmMetod extends TypeSelectableRO {
public static final int CILL_NELSEN = 1;
public static final int LUMINESCENT = 2;
public static final int INOCULATION = 3;
public CertTagTuberConfirmMetod() throws ClipsException {
}
public CertTagTuberConfirmMetod(CertificateLocal certificateLocal, ReportParam reportParam, DiseaseLocal diseaseLocal) throws ClipsException {
super(certificateLocal, reportParam, diseaseLocal);
if (certificateLocal.isNewlyCreated()) {
setItem(0);
}
}
@Override
public void fillItems() throws ClipsException {
allItems.add(new PairIntStr(0, ""));
allItems.add(new PairIntStr(CILL_NELSEN, "микроскопия по Циль-Нельсену"));
allItems.add(new PairIntStr(LUMINESCENT, "люминисцентная микроскопия"));
allItems.add(new PairIntStr(INOCULATION, "посев"));
}
}