Browse Source

TODOs entfernt

master
Johannes Oehm 10 years ago
committed by Johannes
parent
commit
cdb2ecbf44
2 changed files with 3 additions and 4 deletions
  1. +1
    -1
      src/main/java/de/uniluebeck/mi/projmi6/controller/FallController.java
  2. +2
    -3
      src/main/java/de/uniluebeck/mi/projmi6/controller/PatientEditorController.java

+ 1
- 1
src/main/java/de/uniluebeck/mi/projmi6/controller/FallController.java View File

@@ -410,7 +410,7 @@ public class FallController {
dtTmAufnahme.setDateTime(fall.getAufnahmeDatum());
dtTmEntlassung.setDateTime(fall.getEntlassungsDatum());

fallId.setText(fall.getFallID() + ""); //(fall.getPatient().getVorname()+" "+fall.getPatient().getNachname()); //TODO
fallId.setText(Integer.toString(fall.getFallID()));

fallCreateTime.setText(fall.getErstellDatumZeit() != null ? fall.getErstellDatumZeit().toString() : "");
fallCreator.setText(Integer.toString(fall.getErsteller()));


+ 2
- 3
src/main/java/de/uniluebeck/mi/projmi6/controller/PatientEditorController.java View File

@@ -182,7 +182,6 @@ public class PatientEditorController {
}


// TODO: Remove default values.
private void clearFields() {
patId.setText("");
patGeburtsname.setText("");
@@ -193,9 +192,9 @@ public class PatientEditorController {
patPlz.setText("");
patOrt.setText("");
patTelefonnummer.setText("");
patGeburtsdatum.setValue(LocalDate.of(1900, 1, 1));
patGeburtsdatum.setValue(null);
patFamilienstand.setValue(Patient.Familienstand.LEDIG);
patGeschlecht.setValue(Patient.Geschlecht.FEMALE);
patGeschlecht.setValue(null);
patVersicherungsnummer.setText("");
patVersicherung.setValue(null);
patCave.setText("");


Loading…
Cancel
Save