Coder Social home page Coder Social logo

hospitalmanagementsystem's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m Nwenwe Confidence. A curious Nigerian.
  • ๐Ÿ‘€ Iโ€™m interested in Desktop and Enterprise App development
  • ๐ŸŒฑ Iโ€™m currently learning java
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate with other programmers to improve healthcare and general well-being of people using lines of code.
  • ๐Ÿ“ซ How to reach me @[email protected]

hospitalmanagementsystem's People

Contributors

nechcodes avatar

Stargazers

 avatar

Watchers

 avatar

hospitalmanagementsystem's Issues

runtime error in tableView

deleting all the items on any of the tableViews returns a runtime error (index out of bounds exceptions).
this is due to the following line of code in the controller classes;

for (Patient p : selectedRows)
allPatients.remove(p);

in the embolden line above, deleting rows give no issue until there is just one row left on the table.
Deleting the only remaining row in the table leaves selectedRows to be == null, hence
p cannot iterate through a null value (of rows) since the iteration is based on integer and null can't be used to perform arithmetics.

Solution to this issue should be to find a way to get the number of rows (of data) left on the table and if greater than 1,
the boldened line of code should run. else, delete all items in the table (that is, only the remaining row) using a different
line of code that is not the iteration through the selectedRows.

illustration - this is my mere thought though;

if (allPatients.getNumberOfPatients() > selectedRows.getNumberOfSelectedRows()){
for (Patient p : selectedRows)
allPatients.remove(p);
}
else allPatients.removeAllDataInTableView;

bug in home button

When I edit a column in the staff page and subsequently click the home button, I get the following runtime error.

Issue 1

This could probably be due to the fact that we're yet to implement methods that actually permit the editing in StaffController. Hence, trying to edit the columns without the methods that do such editing. We'll see if this fixes the issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.