|
|
|
@@ -5,7 +5,6 @@ import javafx.beans.property.SimpleIntegerProperty; |
|
|
|
import javafx.beans.property.SimpleObjectProperty; |
|
|
|
import javafx.beans.property.SimpleStringProperty; |
|
|
|
|
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.time.LocalDateTime; |
|
|
|
|
|
|
|
/** |
|
|
|
@@ -15,7 +14,7 @@ public class Fall extends Version { |
|
|
|
private Patient patient; |
|
|
|
private Kasse kasse; |
|
|
|
private Diagnose hauptDiagnose; |
|
|
|
private Mitarbeiter einweisenderArzt; |
|
|
|
private SimpleStringProperty einweisenderArzt = new SimpleStringProperty(this, "einweiser"); |
|
|
|
private FallArt fallArt; |
|
|
|
private SimpleBooleanProperty selbsteinweisung = new SimpleBooleanProperty(this, "selbsteinweisung"); |
|
|
|
private SimpleStringProperty versichertenNummer = new SimpleStringProperty(this, "versichertenNummer"); |
|
|
|
@@ -29,38 +28,37 @@ public class Fall extends Version { |
|
|
|
return vorstellDatum.get(); |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleObjectProperty<LocalDateTime> vorstellDatumProperty() { |
|
|
|
return vorstellDatum; |
|
|
|
} |
|
|
|
|
|
|
|
public void setVorstellDatum(LocalDateTime vorstellDatum) { |
|
|
|
this.vorstellDatum.set(vorstellDatum); |
|
|
|
} |
|
|
|
|
|
|
|
public LocalDateTime getAufnahmeDatum() { |
|
|
|
return aufnahmeDatum.get(); |
|
|
|
public SimpleObjectProperty<LocalDateTime> vorstellDatumProperty() { |
|
|
|
return vorstellDatum; |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleObjectProperty<LocalDateTime> aufnahmeDatumProperty() { |
|
|
|
return aufnahmeDatum; |
|
|
|
public LocalDateTime getAufnahmeDatum() { |
|
|
|
return aufnahmeDatum.get(); |
|
|
|
} |
|
|
|
|
|
|
|
public void setAufnahmeDatum(LocalDateTime aufnahmeDatum) { |
|
|
|
this.aufnahmeDatum.set(aufnahmeDatum); |
|
|
|
} |
|
|
|
|
|
|
|
public LocalDateTime getEntlassungsDatum() { |
|
|
|
return entlassungsDatum.get(); |
|
|
|
public SimpleObjectProperty<LocalDateTime> aufnahmeDatumProperty() { |
|
|
|
return aufnahmeDatum; |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleObjectProperty<LocalDateTime> entlassungsDatumProperty() { |
|
|
|
return entlassungsDatum; |
|
|
|
public LocalDateTime getEntlassungsDatum() { |
|
|
|
return entlassungsDatum.get(); |
|
|
|
} |
|
|
|
|
|
|
|
public void setEntlassungsDatum(LocalDateTime entlassungsDatum) { |
|
|
|
this.entlassungsDatum.set(entlassungsDatum); |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleObjectProperty<LocalDateTime> entlassungsDatumProperty() { |
|
|
|
return entlassungsDatum; |
|
|
|
} |
|
|
|
|
|
|
|
public Patient getPatient() { |
|
|
|
return patient; |
|
|
|
@@ -86,18 +84,26 @@ public class Fall extends Version { |
|
|
|
this.hauptDiagnose = hauptDiagnose; |
|
|
|
} |
|
|
|
|
|
|
|
public Mitarbeiter getEinweisenderArzt() { |
|
|
|
return einweisenderArzt; |
|
|
|
public String getEinweisenderArzt() { |
|
|
|
return einweisenderArzt.get(); |
|
|
|
} |
|
|
|
|
|
|
|
public void setEinweisenderArzt(Mitarbeiter einweisenderArzt) { |
|
|
|
this.einweisenderArzt = einweisenderArzt; |
|
|
|
public void setEinweisenderArzt(String einweisenderArzt) { |
|
|
|
this.einweisenderArzt.set(einweisenderArzt); |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleStringProperty einweisenderArztProperty() { |
|
|
|
return einweisenderArzt; |
|
|
|
} |
|
|
|
|
|
|
|
public FallArt getFallArt() { |
|
|
|
return fallArt; |
|
|
|
} |
|
|
|
|
|
|
|
public void setFallArt(FallArt fallArt) { |
|
|
|
this.fallArt = fallArt; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
if(getAufnahmeDatum()!=null){ |
|
|
|
@@ -107,46 +113,42 @@ public class Fall extends Version { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void setFallArt(FallArt fallArt) { |
|
|
|
this.fallArt = fallArt; |
|
|
|
} |
|
|
|
|
|
|
|
public boolean getSelbsteinweisung() { |
|
|
|
return selbsteinweisung.get(); |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleBooleanProperty selbsteinweisungProperty() { |
|
|
|
return selbsteinweisung; |
|
|
|
} |
|
|
|
|
|
|
|
public void setSelbsteinweisung(boolean selbsteinweisung) { |
|
|
|
this.selbsteinweisung.set(selbsteinweisung); |
|
|
|
} |
|
|
|
|
|
|
|
public String getVersichertenNummer() { |
|
|
|
return versichertenNummer.get(); |
|
|
|
public SimpleBooleanProperty selbsteinweisungProperty() { |
|
|
|
return selbsteinweisung; |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleStringProperty versichertenNummerProperts() { |
|
|
|
return versichertenNummer; |
|
|
|
public String getVersichertenNummer() { |
|
|
|
return versichertenNummer.get(); |
|
|
|
} |
|
|
|
|
|
|
|
public void setVersichertenNummer(String versichertenNummer) { |
|
|
|
this.versichertenNummer.set(versichertenNummer); |
|
|
|
} |
|
|
|
|
|
|
|
public boolean getStorniert() { |
|
|
|
return storniert.get(); |
|
|
|
public SimpleStringProperty versichertenNummerProperts() { |
|
|
|
return versichertenNummer; |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleBooleanProperty storniertProperty() { |
|
|
|
return storniert; |
|
|
|
public boolean getStorniert() { |
|
|
|
return storniert.get(); |
|
|
|
} |
|
|
|
|
|
|
|
public void setStorniert(boolean storniert) { |
|
|
|
this.storniert.set(storniert); |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleBooleanProperty storniertProperty() { |
|
|
|
return storniert; |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleStringProperty versichertenNummerProperty() { |
|
|
|
return versichertenNummer; |
|
|
|
} |
|
|
|
@@ -155,12 +157,12 @@ public class Fall extends Version { |
|
|
|
return fallID.get(); |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleIntegerProperty fallIDProperty() { |
|
|
|
return fallID; |
|
|
|
} |
|
|
|
|
|
|
|
public void setFallID(int fallID) { |
|
|
|
this.fallID.set(fallID); |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleIntegerProperty fallIDProperty() { |
|
|
|
return fallID; |
|
|
|
} |
|
|
|
|
|
|
|
} |