|
|
|
@@ -0,0 +1,80 @@ |
|
|
|
package de.uniluebeck.mi.projmi6.model; |
|
|
|
|
|
|
|
import javafx.beans.property.SimpleBooleanProperty; |
|
|
|
import javafx.beans.property.SimpleIntegerProperty; |
|
|
|
import javafx.beans.property.SimpleObjectProperty; |
|
|
|
import javafx.beans.property.SimpleStringProperty; |
|
|
|
|
|
|
|
import java.time.LocalDateTime; |
|
|
|
|
|
|
|
/** |
|
|
|
* Created by 630030 on 15.11.2015. |
|
|
|
*/ |
|
|
|
public class Untersuchung extends Version { |
|
|
|
private Mitarbeiter durchfuehrenderArzt; |
|
|
|
private Fall fall; |
|
|
|
private OpsCode opscode; |
|
|
|
private SimpleBooleanProperty storniert = new SimpleBooleanProperty(this, "storniert"); |
|
|
|
private SimpleObjectProperty<LocalDateTime> untersuchungsdatum = new SimpleObjectProperty<>(this, "untersuchungsdatum"); |
|
|
|
private SimpleIntegerProperty untersID = new SimpleIntegerProperty(this, "untersid"); |
|
|
|
|
|
|
|
public Mitarbeiter getDurchfuehrenderArzt() { |
|
|
|
return durchfuehrenderArzt; |
|
|
|
} |
|
|
|
|
|
|
|
public void setDurchfuehrenderArzt(Mitarbeiter durchfuehrenderArzt) { |
|
|
|
this.durchfuehrenderArzt = durchfuehrenderArzt; |
|
|
|
} |
|
|
|
|
|
|
|
public Fall getFall() { |
|
|
|
return fall; |
|
|
|
} |
|
|
|
|
|
|
|
public void setFall(Fall fall) { |
|
|
|
this.fall = fall; |
|
|
|
} |
|
|
|
|
|
|
|
public OpsCode getOpscode() { |
|
|
|
return opscode; |
|
|
|
} |
|
|
|
|
|
|
|
public void setOpscode(OpsCode opscode) { |
|
|
|
this.opscode = opscode; |
|
|
|
} |
|
|
|
|
|
|
|
public boolean getStorniert() { |
|
|
|
return storniert.get(); |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleBooleanProperty storniertProperty() { |
|
|
|
return storniert; |
|
|
|
} |
|
|
|
|
|
|
|
public void setStorniert(boolean storniert) { |
|
|
|
this.storniert.set(storniert); |
|
|
|
} |
|
|
|
|
|
|
|
public LocalDateTime getUntersuchungsdatum() { |
|
|
|
return untersuchungsdatum.get(); |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleObjectProperty<LocalDateTime> untersuchungsdatumProperty() { |
|
|
|
return untersuchungsdatum; |
|
|
|
} |
|
|
|
|
|
|
|
public void setUntersuchungsdatum(LocalDateTime untersuchungsdatum) { |
|
|
|
this.untersuchungsdatum.set(untersuchungsdatum); |
|
|
|
} |
|
|
|
|
|
|
|
public int getUntersID() { |
|
|
|
return untersID.get(); |
|
|
|
} |
|
|
|
|
|
|
|
public SimpleIntegerProperty untersIDProperty() { |
|
|
|
return untersID; |
|
|
|
} |
|
|
|
|
|
|
|
public void setUntersID(int untersID) { |
|
|
|
this.untersID.set(untersID); |
|
|
|
} |
|
|
|
} |