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.

109 lines
2.1 KiB

  1. package de.uniluebeck.mi.projmi6.controller;
  2. /**
  3. * Created by 631806 on 12.11.15.
  4. */
  5. import de.uniluebeck.mi.projmi6.model.FallArt;
  6. import de.uniluebeck.mi.projmi6.model.Kasse;
  7. import de.uniluebeck.mi.projmi6.view.DateTimePicker;
  8. import javafx.collections.FXCollections;
  9. import javafx.event.ActionEvent;
  10. import javafx.fxml.FXML;
  11. import javafx.scene.control.Button;
  12. import javafx.scene.control.CheckBox;
  13. import javafx.scene.control.ComboBox;
  14. import javafx.scene.control.Label;
  15. import javafx.scene.control.TextField;
  16. public class FallController {
  17. private MainController mainController;
  18. public FallController (MainController mainController){
  19. this.mainController = mainController;
  20. }
  21. @FXML
  22. private DateTimePicker dtTmAufnahme, dtTmEntlassung;
  23. @FXML
  24. private ComboBox<FallArt> fallFallart;
  25. @FXML
  26. private ComboBox<Kasse> fallKasse;
  27. @FXML
  28. private Button btnFallEnableEdit;
  29. @FXML
  30. private Label fallCreator;
  31. @FXML
  32. private Label fallEditor;
  33. @FXML
  34. private TextField fallVersichertennummer;
  35. @FXML
  36. private Label fallPatID;
  37. @FXML
  38. private TextField fallEinweisenderArzt;
  39. @FXML
  40. private Button btnFallSave;
  41. @FXML
  42. private Label fallCreateTime;
  43. @FXML
  44. private CheckBox fallSelbsteinweisung;
  45. @FXML
  46. private TextField fallEntlTime;
  47. @FXML
  48. private Button btnFallAbort;
  49. @FXML
  50. private Button btnFallCancel;
  51. @FXML
  52. public void initialize(){
  53. fallEinweisenderArzt.disableProperty().bind(fallSelbsteinweisung.selectedProperty());
  54. fallFallart.setItems(FXCollections.observableArrayList(FallArt.values()));
  55. fallKasse.setItems(mainController.getKassen());
  56. }
  57. @FXML
  58. void clickedFallAufnNow(ActionEvent event) {
  59. }
  60. @FXML
  61. void clickedFallEntlNow(ActionEvent event) {
  62. }
  63. @FXML
  64. void clickedFallEnableEdit(ActionEvent event) {
  65. }
  66. @FXML
  67. void clickedFallCancel(ActionEvent event) {
  68. }
  69. @FXML
  70. void clickedFallAbort(ActionEvent event) {
  71. }
  72. @FXML
  73. void clickedFallSave(ActionEvent event) {
  74. }
  75. }