Package clips.delegate.doctor.certificate.tag.certTags

Source Code of clips.delegate.doctor.certificate.tag.certTags.CertTagGrowthConfirmMetod

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package clips.delegate.doctor.certificate.tag.certTags;

import cli_fmw.main.ClipsException;
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.TypeMultiSelectable;
import cli_fmw.delegate.report.ReportParam;
import framework.utils.PairIntStr;
import java.util.HashSet;
import java.util.List;

/**
*
* @author vip
*/
@TagToClass(tagName="growth_confirm_metod", title="Метод подтверждения диагноза злокачественное новообразование")
public class CertTagGrowthConfirmMetod extends TypeMultiSelectable {

    public CertTagGrowthConfirmMetod() throws ClipsException {
    }

    public CertTagGrowthConfirmMetod(CertificateLocal certificateLocal, ReportParam reportParam, DiseaseLocal diseaseLocal) throws ClipsException {
        super(certificateLocal, reportParam, diseaseLocal);
    }

    @Override
    public void fillItems() throws ClipsException {
        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, "неизвестен"));
    }

    @Override
    public boolean isEditable() {
        return false;
    }

    @Override
    public List<Integer> getValue() throws ClipsException {
        return getItems();
    }

}
TOP

Related Classes of clips.delegate.doctor.certificate.tag.certTags.CertTagGrowthConfirmMetod

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.