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

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

/*
* 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="growth_expose_circs", title="Обстоятельства выявления опухоли")
public class CertTagGrowthExposeCircs extends TypeSelectableRO {

    public CertTagGrowthExposeCircs() throws ClipsException {
    }

    public CertTagGrowthExposeCircs(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(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, "посмертно без аутопсии"));
        allItems.add(new PairIntStr(7, "неизвестно"));
    }

}
TOP

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

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.