From 6b63675e845268e6087d5e47e3a289f6d485b30b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20S=C3=A4ume?= Date: Wed, 22 May 2024 20:15:39 +0200 Subject: [PATCH] #27: Implement Alternative Medications MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dominik Säume --- .idea/sqlDataSources.xml | 1 + db/nursingHome.db | Bin 57344 -> 61440 bytes .../nhplus/fixtures/MedicationFixture.java | 159 +++++++----- .../medication/AllMedicationController.java | 25 +- .../DeprecatedMedicationController.java | 18 ++ .../hitec/nhplus/medication/Medication.java | 56 ++++- .../nhplus/medication/MedicationListCell.java | 146 +++++++++++ .../medication/MedicationModalController.java | 52 +++- .../medication/database/MedicationDao.java | 233 +++++++++--------- src/main/java/module-info.java | 1 + .../nhplus/medication/AllMedicationView.fxml | 5 + .../medication/DeprecatedMedicationView.fxml | 5 + .../nhplus/medication/MedicationModal.fxml | 45 +++- .../database/Medication_Alternative.sql | 7 + 14 files changed, 555 insertions(+), 198 deletions(-) create mode 100644 src/main/java/de/hitec/nhplus/medication/MedicationListCell.java create mode 100644 src/main/resources/de/hitec/nhplus/medication/database/Medication_Alternative.sql diff --git a/.idea/sqlDataSources.xml b/.idea/sqlDataSources.xml index ef907f0..2a3ed74 100644 --- a/.idea/sqlDataSources.xml +++ b/.idea/sqlDataSources.xml @@ -30,6 +30,7 @@