/* * DiagnosisCategoryModel.java * Copyright (C) 2002 Dolphin Project. All rights reserved. * Copyright (C) 2003,2004 Digital Globe, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ package open.dolphin.infomodel; import javax.persistence.Embeddable; /** * Diagnosis のカテゴリーモデル。 * * @author Kazushi Minagawa, Digital Globe, Inc. */ @Embeddable public class DiagnosisCategoryModel extends InfoModel implements java.io.Serializable { // カテゴリー(コード値) private String diagnosisCategory; // カテゴリー表記 private String diagnosisCategoryDesc; // カテゴリー体系 private String diagnosisCategoryCodeSys; /** * @param category The category to set. */ public void setDiagnosisCategory(String category) { this.diagnosisCategory = category; } /** * @return Returns the category. */ public String getDiagnosisCategory() { return diagnosisCategory; } /** * @param categoryDesc The categoryDesc to set. */ public void setDiagnosisCategoryDesc(String categoryDesc) { this.diagnosisCategoryDesc = categoryDesc; } /** * @return Returns the categoryDesc. */ public String getDiagnosisCategoryDesc() { return diagnosisCategoryDesc; } /** * @param categoryCodeSys The categoryCodeSys to set. */ public void setDiagnosisCategoryCodeSys(String categoryCodeSys) { this.diagnosisCategoryCodeSys = categoryCodeSys; } /** * @return Returns the categoryCodeSys. */ public String getDiagnosisCategoryCodeSys() { return diagnosisCategoryCodeSys; } @Override public String toString() { return getDiagnosisCategoryDesc(); } }