package com.lantone.structure.model.label;

import com.lantone.structure.model.entity.BeHospitalizedWay;
import com.lantone.structure.model.entity.Cause;
import com.lantone.structure.model.entity.Clinical;
import com.lantone.structure.model.entity.Diag;
import com.lantone.structure.model.entity.General;
import com.lantone.structure.model.entity.GeneralDesc;
import com.lantone.structure.model.entity.Lis;
import com.lantone.structure.model.entity.Medicine;
import com.lantone.structure.model.entity.Operation;
import com.lantone.structure.model.entity.PD;
import com.lantone.structure.model.entity.Pacs;
import com.lantone.structure.model.entity.Treat;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName : VatilLabel
 * @Description : 体格检查(专科检查)
 * @Author : 楼辉荣
 * @Date: 2020-03-03 18:49
 */
@Getter
@Setter
public class VitalLabelSpecial extends GeneralLabel {
    //临床表现
    private List<Clinical> clinicals = new ArrayList<>();
    //辅助检查
    private List<Pacs> pacses;
    //化验
    private List<Lis> lises;
    //治疗
    private List<Treat> treats;
    //药物
    private List<Medicine> medicines;
    //一般情况
    private List<General> gens = new ArrayList<>();
    //一般情况描述
    private List<GeneralDesc> generals = new ArrayList<>();
    //诱因
    private List<Cause> causes;
    //疾病信息
    private List<Diag> diags = new ArrayList<>();
    //手术信息
    private List<Operation> operations = new ArrayList<>();
    //入院途径
    private BeHospitalizedWay beHospitalizedWay;
    //现病史中所有时间实体存入
    private List<PD> pds = new ArrayList<>();

    public <T> void add(List<T> list, T obj) {
        list.add(obj);
    }
}