Im Rahmen der Veranstaltung "CS3330 - Projektpraktikum MedizinischeInformatik" an der Universität zu Lübeck entstandenes Krankenhausinformationssystem (KIS).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
670 B

  1. package de.uniluebeck.mi.projmi6.model;
  2. /**
  3. * A simple, immutable class that wraps an ICD10 code entry from the db.
  4. */
  5. public class Icd10Code {
  6. private final String code;
  7. private final String text;
  8. private final int version;
  9. public Icd10Code(String icd10Code, String text, int version){
  10. this.code = icd10Code;
  11. this.text = text;
  12. this.version = version;
  13. }
  14. public String getCode() {
  15. return code;
  16. }
  17. public String getText() {
  18. return text;
  19. }
  20. public int getVersion() {
  21. return version;
  22. }
  23. @Override
  24. public String toString() {
  25. return code+" - "+ text;
  26. }
  27. }