|
- package de.uniluebeck.mi.projmi6.model;
-
- /**
- * A simple, immutable class that wraps an ICD10 code entry from the db.
- */
- public class Icd10Code {
-
- private final String code;
-
- private final String text;
-
- private final int version;
-
-
- public Icd10Code(String icd10Code, String text, int version){
- this.code = icd10Code;
- this.text = text;
- this.version = version;
- }
-
- public String getCode() {
- return code;
- }
-
- public String getText() {
- return text;
- }
-
- public int getVersion() {
- return version;
- }
-
- @Override
- public String toString() {
- return code+" - "+ text;
- }
- }
|