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.

98 lines
5.6 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import javafx.geometry.*?>
  3. <?import javafx.scene.text.*?>
  4. <?import java.net.* ?>
  5. <?import java.lang.*?>
  6. <?import javafx.scene.control.*?>
  7. <?import javafx.scene.layout.*?>
  8. <?import de.uniluebeck.mi.projmi6.view.*?>
  9. <SplitPane fx:controller="de.uniluebeck.mi.projmi6.controller.StationsHistorieController" dividerPositions="0.45" xmlns="http://javafx.com/javafx/8"
  10. xmlns:fx="http://javafx.com/fxml/1">
  11. <items>
  12. <VBox>
  13. <children>
  14. <ToolBar prefHeight="40.0" prefWidth="200.0">
  15. <items>
  16. <Button mnemonicParsing="false" text="Neuen Aufenthalt erstellen" onAction="#clickedCreateAufenthalt"/>
  17. </items>
  18. </ToolBar>
  19. <TableView prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS" fx:id="tblStationsHistorie" >
  20. <columns>
  21. <TableColumn prefWidth="75.0" text="Station" fx:id="colStatHistStation"/>
  22. <TableColumn prefWidth="75.0" text="Aufnahme" fx:id="colStatHistAufnahmeDatum"/>
  23. <TableColumn prefWidth="75.0" text="Entlassung" fx:id="colStatHistEntlassungsDatum"/>
  24. </columns>
  25. <columnResizePolicy>
  26. <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
  27. </columnResizePolicy>
  28. </TableView>
  29. </children>
  30. </VBox>
  31. <VBox>
  32. <children>
  33. <GridPane VBox.vgrow="ALWAYS" fx:id="fields">
  34. <columnConstraints>
  35. <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/>
  36. <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/>
  37. </columnConstraints>
  38. <rowConstraints>
  39. <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
  40. <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
  41. <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
  42. <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
  43. </rowConstraints>
  44. <children>
  45. <Label text="Abteilung:"/>
  46. <ComboBox prefWidth="150.0" GridPane.columnIndex="1" fx:id="cmbAbteilung"/>
  47. <Label text="Station:" GridPane.rowIndex="1"/>
  48. <ComboBox prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="1" fx:id="cmbStation"/>
  49. <Label text="Aufnahmedatum / -Zeit:" GridPane.rowIndex="2" />
  50. <DateTimePicker GridPane.columnIndex="1" GridPane.rowIndex="2" fx:id="dtTmAufnahme"/>
  51. <Label text="Entlassungsdatum/ -Zeit:" GridPane.rowIndex="3"/>
  52. <DateTimePicker GridPane.columnIndex="1" GridPane.rowIndex="3" fx:id="dtTmEntlassung"/>
  53. </children>
  54. </GridPane>
  55. <HBox alignment="CENTER_RIGHT">
  56. <children>
  57. <Button mnemonicParsing="false" text="Bearbeiten" onAction="#clickedEdit" fx:id="btnStatHistEdit"/>
  58. <Button mnemonicParsing="false" text="Abbrechen" onAction="#clickedAbort" fx:id="btnStatHistAbort"/>
  59. <Button mnemonicParsing="false" text="Speichern" onAction="#clickedSave" fx:id="btnStatHistSave"/>
  60. <Button disable="true" mnemonicParsing="false" text="Eintrag entfernen" fx:id="btnStatHistCancel" onAction="#clickedCancel"/>
  61. </children>
  62. </HBox>
  63. <GridPane>
  64. <children>
  65. <Label styleClass="ersteller-label" text="Ersteller: " GridPane.rowIndex="0"/>
  66. <Label styleClass="ersteller-label" text="Erstelldatum:" GridPane.rowIndex="1"/>
  67. <Label styleClass="ersteller-label" text="Letzter Bearbeiter:" GridPane.rowIndex="2"/>
  68. <Label styleClass="ersteller-label" text="Letzte Änderung:" GridPane.rowIndex="3"/>
  69. <Label styleClass="ersteller-value" GridPane.columnIndex="1" GridPane.rowIndex="0" fx:id="statHistCreator" text="a"/>
  70. <Label styleClass="ersteller-value" GridPane.columnIndex="1" GridPane.rowIndex="1" fx:id="statHistCreateTime" text="b"/>
  71. <Label styleClass="ersteller-value" GridPane.columnIndex="1" GridPane.rowIndex="2" fx:id="statHistEditor" text="c"/>
  72. <Label styleClass="ersteller-value" GridPane.columnIndex="1" GridPane.rowIndex="3" fx:id="statHistEditTime" text="d"/>
  73. </children>
  74. <columnConstraints>
  75. <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="50.0"/>
  76. <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="50.0"/>
  77. </columnConstraints>
  78. <rowConstraints>
  79. <RowConstraints minHeight="10.0" vgrow="SOMETIMES"/>
  80. <RowConstraints minHeight="10.0" vgrow="SOMETIMES"/>
  81. <RowConstraints minHeight="10.0" vgrow="SOMETIMES"/>
  82. <RowConstraints minHeight="10.0" vgrow="SOMETIMES"/>
  83. </rowConstraints>
  84. </GridPane>
  85. </children>
  86. </VBox>
  87. </items>
  88. <stylesheets>
  89. <URL value="@style.css" />
  90. </stylesheets>
  91. </SplitPane>