/*
* 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 cli_fmw.delegate.report.ReportParam;
import cli_fmw.main.ClipsException;
import clips.delegate.doctor.certificate.tag.interfaces.TypeSelectableEdit;
import framework.utils.PairIntStr;
import java.util.HashSet;
/**
*
* @author vip
*/
@TagToClass(tagName="venero_expose_place", title="Место выявления кож/вен заболевания")
public class CertTagVeneroExposePlace extends TypeSelectableEdit {
public CertTagVeneroExposePlace() throws ClipsException {
}
public CertTagVeneroExposePlace(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(1, "КВУ"));
allItems.add(new PairIntStr(2, "в т.ч. КАОЛ"));
allItems.add(new PairIntStr(3, "в стационаре (профиль койки)"));
allItems.add(new PairIntStr(4, "в амбулаторно-поликлиническом учреждении (специалист)"));
allItems.add(new PairIntStr(5, "в женской консультации"));
allItems.add(new PairIntStr(6, "другое (вписать)"));
editableItems = new HashSet<Integer>();
editableItems.add(3);
editableItems.add(4);
editableItems.add(6);
}
}