Im Rahmen der Veranstaltung "CS3330 - Projektpraktikum MedizinischeInformatik" an der Universität zu Lübeck entstandenes Krankenhausinformationssystem (KIS).
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

107 行
2.4 KiB

  1. package de.uniluebeck.mi.projmi6.controller;
  2. /**
  3. * Created by 626947 on 12.11.15.
  4. */
  5. import de.uniluebeck.mi.projmi6.Main;
  6. import de.uniluebeck.mi.projmi6.model.Mitarbeiter;
  7. import de.uniluebeck.mi.projmi6.model.OpsCode;
  8. import de.uniluebeck.mi.projmi6.model.Patient;
  9. import de.uniluebeck.mi.projmi6.view.DateTimePicker;
  10. import javafx.event.ActionEvent;
  11. import javafx.fxml.FXML;
  12. import javafx.scene.control.*;
  13. public class UntersuchungenController {
  14. /**
  15. * The examination that is shown in the edit window, or null if a new examination should be created.
  16. */
  17. // private Untersuchung untersuchung = null;
  18. private MainController mainController;
  19. @FXML
  20. private Button btnUntsCancel;
  21. @FXML
  22. private Button btnUntsCreate;
  23. @FXML
  24. private DateTimePicker dtTmUntersuchungszeitpunkt;
  25. @FXML
  26. private Button btnUntsSave;
  27. @FXML
  28. private Label untsChanger;
  29. @FXML
  30. private Label untsCreator;
  31. @FXML
  32. private Label untsChangeTime;
  33. @FXML
  34. private Label untsCreateTime;
  35. @FXML
  36. private ListView<?> untsList;
  37. @FXML
  38. private ComboBox<OpsCode> untsOpsCode;
  39. @FXML
  40. private ComboBox<Mitarbeiter> untsArzt;
  41. public UntersuchungenController (MainController mainController){
  42. this.mainController = mainController;
  43. }
  44. @FXML
  45. public void initialize(){
  46. untsOpsCode.itemsProperty().bind(mainController.opsCodesProperty());
  47. }
  48. @FXML
  49. void clickedUntsCreate(ActionEvent event) {
  50. }
  51. @FXML
  52. void clickedUntsAbort(ActionEvent event) {
  53. }
  54. @FXML
  55. void clickedUntsSave(ActionEvent event) {
  56. }
  57. /*
  58. public void setUntersuchung(Untersuchung untersuchung){
  59. this.untersuchung = untersuchung;
  60. if(untersuchung==null){
  61. clearFields();
  62. }else {
  63. copyUntersuchungDataIntoFields();
  64. }
  65. }*/
  66. /*
  67. private void copyUntersuchungDataIntoFields(){
  68. untsList.setText(Integer.toString(patient.getPatID()));
  69. untsOpsCode.setText(patient.getGeburtsname());
  70. untsArzt.setText(patient.getNachname());
  71. untsCreator.setText(Integer.toString(patient.getErsteller()));
  72. untsCreateTime.setText(patient.getErstellDatumZeit().toString());
  73. untsChanger.setText(Integer.toString(patient.getBearbeiter()));
  74. untsChangeTime.setText(patient.getBearbeitetDatumZeit().toString());
  75. }*/
  76. }